| View previous topic :: View next topic |
| Author |
Message |
Lovewinniethepooh
Joined: 15 Jul 2008 Posts: 5 Location: Southern NJ
|
Posted: Tue Jul 15, 2008 4:17 am Post subject: Condition to limit expansion of hotstring |
|
|
Hi, I have tried to figure this out and can't - I would like to have my hotstrings only expand when there is a blank space (whitespace?) before them, i.e. when I have ly as a hotstring expand to layer and I type bilateral, forget to add the ly, backspace to the end of bilateral and add the ly, I get bilaterallayer. I want to have the program realize there is a typed character previous to the cursor's position and temporarily "suspend", for lack of a better word, the hotstring. I have a problem also that may be similar or related to this when I am in my work program (medical transcription) and in a certain comment box area I go to and try to enter a hotstring but I have to space away from the left margin a character for the hotstring to expand itself, does anyone know why? Thanks in advance.  |
|
| Back to top |
|
 |
tonne
Joined: 06 Jun 2006 Posts: 1159 Location: Denmark
|
Posted: Tue Jul 15, 2008 7:00 am Post subject: |
|
|
The first issue is probably as:
| Code: | ; a question mark makes the hotstring trigger even inside other words
; can even be specifed with the #hotstring directive
; :?:ly::layer
; this requires the preceeding char to be non-alphanumeric
::ly::layer |
Better show the offending script. _________________ there's a dog barking close within the range of my ear
sounds like he wants to escape the chain
he would probably bite me to death if he could
but the chain lets me spit in his face
- Kashmir |
|
| Back to top |
|
 |
Lovewinniethepooh
Joined: 15 Jul 2008 Posts: 5 Location: Southern NJ
|
Posted: Tue Jul 15, 2008 10:43 pm Post subject: |
|
|
Hello, I will post the one I think I had it in but just to clarify, I was not using the question mark option with the hotstring, just a regular ::ly::layer hotstring. I am pretty sure using that causes the hotstring to expand regardless of where it is in a word and I didn't want that to happen. Thanks for your reply.  |
|
| Back to top |
|
 |
|