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

This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.     Home » Forums » TeSSH Discussion
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: Wed Oct 29, 2008 3:18 pm   

[2.36] Selecting a variable at the start of a line in PE always shows @ selected
 
Most likely an issue in all CMUD versions too.

If you have a variable name, e.g. @myVar at the beginning of a line (including wrapped lines) in the script pane of the Package Editor, it appears to be impossible to select the variable name without the @ symbol. However, in fact, if you do a Ctrl-C and Ctrl-V (somewhere else) on the highlighted text you get the variable name *without* the @ symbol. You do get an indication based on the where the vertical line is that this is going to happen, but it is still odd.

Similarly, but separately, if you put the cursor at the end of a variable name, and do Ctrl-Shift-Left twice it selects the variable name *with* the @symbol but with the next character to the left of it (where the character to the left, in my case is | - this is important - if you have space before the @ it works fine in this case). My test case is an alias where variables should be expanded but everything else is sent verbatim to the server. It is still an issue if I quote the |, e.g.
"|"@timeout
I would expect Ctrl-Shift-Left twice from the end to select @timeout, with the 3rd one selecting the whole lot.
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Oct 29, 2008 4:40 pm   
 
The @ character is added to the list of alphanumeric characters so that double clicking on @var will select the whole thing. As fas as the internal selection and shortcut keys, those are going to be internal to the Scinitilla editor DLL component that CMUD and TeSSH are using, so there isn't going to be much I can do about that. I'll add it to the bug list, but it's not going to be a very high priority. Maybe there is a newer version of Scintilla available that improves some of this.
Reply with quote
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Home » Forums » TeSSH Discussion 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 on Wolfpaw.net