Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Fri May 07, 2010 3:07 pm   

[3.16b] Editor pattern box scrolls
 
There is a really annoying problem concerning the Pattern box in the editor. When you create a trigger or view it, the pattern box is scrolled down. If you click inside and scroll up with the mouse, it will bring it back to the first line. Otherwise if the line is long it wraps inside the pattern box and you can't see what the pattern is without using the pulldown or scrolling it back up.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri May 07, 2010 4:30 pm   
 
I am not sure I understand. I just created the following trigger:
Code:
#trigger {this is a big trigger asdaadsad asfsafsaf sasafsafsaf safsafsaf asfsa safasfafs safasfsaf asfafsfa safsafsa safasfsa asfafssa safaf asfasffsa end of trigger} {#show fired}

and then I opened the Package Editor and clicked on the trigger. What I see in the Pattern field is:
Code:
this is a big trigger asdaadsad asfsafsaf

which is the first part of the trigger. So it seems to be displaying it correctly on my system here. If I click the drop-down arrow to the right of the Pattern field, then I can see and edit the entire pattern easily.

But it sounds like I'm not seeing the behavior you are mentioning, so you'll need to give me the exact steps needed to reproduce your problem.
Reply with quote
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Fri May 07, 2010 6:14 pm   
 
Here is an example of the problem.

You can see here it scrolled up and only the bottom half shows where it wrapped. Sometimes it only shows the bottom of the first half of the wrap and the top of the second half. All I did was create the trigger, save, then click on the trigger in the tree view.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri May 07, 2010 6:28 pm   
 
What is your Windows Font DPI setting? Looks like it might be an issue with using larger fonts.

Oh, or check the Command Line font size setting. I think the new trigger editor is using the command line style settings and that might be why your font in the Pattern field looks so much larger than mine here.

Edited: Yeah, tell me exactly what your Command Line Style is set to. Also tell me your Windows DPI setting and your version of Windows. I played with the font settings and I still couldn't reproduce it here.
Reply with quote
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Fri May 07, 2010 6:37 pm   
 
I'm using Arial 11 for the command line. Also I am on Windows XP Pro with 1440 x 900 on 23" LCD monitor and normal font size. I've never had a problem with this until now.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri May 07, 2010 8:20 pm   
 
Yep, that did it. Something about the Arial font is screwing up the calculation of the line height for the pattern field. Works with Consolas, Courier New, and Verdana, but I hadn't tested Arial. I'll see if I can fix it.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net