Page 1 of 1
How to mark whole string with mouse double click??
Posted: Sat Mar 16, 2013 5:51 pm
by daniel.337
Hi there,
I would like mark a
whole string as e-mails like
test@test.com or passwords like
zeru4"R+34d completely by double clicking this string with the mouse.
By doing so, only the part before the @ or the + becomes marked.
How and where can I change this behaviour of TextPad?
I hope that there exist an option because I would regret if not, this is very useful.
Daniel
Posted: Sat Mar 16, 2013 9:40 pm
by ak47wong
Yes, you can change this. The setting is specific to each document class, but you can change it for all documents as follows:
- Click Configure > Preferences.
- Click the plus sign (+) next to Document Classes.
- Click Default.
- Select Apply these settings to all document classes.
- Click the plus sign (+) next to Default.
- Click Syntax.
- In Other characters in words, enter the characters that you want to include as part of the string, e.g. @."+
Posted: Sat Mar 16, 2013 9:49 pm
by daniel.337
Great, that looks good!
But the changes do not work, and I wonder why the checkbox "turn on syntax ..." in the suboption "syntax" can not be actived, it remains grey.
And idea?
Daniel
Posted: Mon Mar 18, 2013 3:26 am
by ak47wong
Try this instead:
- Click Configure > Preferences.
- Click the plus sign (+) next to Document Classes.
- Click the plus sign (+) next to Text.
- Click Syntax.
- In Other characters in words, enter the characters that you want to include as part of the string, e.g. @."+
You need to repeat this for all document types that you want to make the change for for which there is a Document Class, e.g. C/C++ source files, HTML files, Java source files, etc.
Posted: Mon Mar 18, 2013 6:30 pm
by daniel.337
Yeah, great! Thank you very much, I am happy!
Daniel