Page 1 of 1

Copying a word should not higlight an exclamation mark

Posted: Mon Jul 21, 2003 6:03 am
by vmuukka
Hi there,

Copying a word next to exclamation mark will highlight the exclamation mark as well. This often leads (for me) to buggy code when editing a C or Java code.

I quess this fuctionality is a result of some earlier 'enhancement' so I suggest that this highlighting could work differently depengin on TextPad document class. I my opinion the exclamation mark should not be highlighted at all.

Cheers,
Vesa M

Posted: Mon Jul 21, 2003 7:57 am
by MudGuard
Could it be that you have the ! in the "Other characters in words"
under Configure - Preferences - Document Classes - Your Document Class - Syntax?

For me, the ! is only selected with a word if the ! is in the "Other characters in words"...

Posted: Wed Jul 23, 2003 7:41 am
by vmuukka
No, there is only underscore '_'.

This enhancemant is (for me)
--- Important, even if the size/efficiency of TextPad increases/degrades

Posted: Wed Jul 23, 2003 8:17 am
by MudGuard
Check the syntax file, maybe the ! is somewhere in there where it should not be...

Posted: Thu Jul 24, 2003 12:06 pm
by vmuukka
'!' mark is in operator chars set only and that is ok... strange... does anybody enle have the same problem?

Posted: Sun Aug 17, 2003 5:44 am
by vmuukka
Hmm... now it works ok fro me too!

So... this thread can now be removed from the Enhancement Suggestions list.

Final note - I think JDevelepoer caused the problem since it occasionally confuses certain special characters (in that case JDevelper must be restarted).

Thanks for comments anyway.