I have an annoying problem with TextPad 4.4.1
I have the following line of text in both an HTML file (*.html) and a JSP file. Both file types have their own document types defined in my TextPad.
<link rel="stylesheet" href="/css_includes/total_rewards.css" type="text/css">
In the HTML file, if I double click on the text "total_rewards", only that word is highlighted. So, all the text between the / (slash) and the . (period) are highlighted. This is good.
In the JSP file, if I double click on the same text, everything between the " double quotes is highlighted. (the same kind of behaviour occurs with my Java files). So, what becomes highlighted is /css_includes/total_rewards.css - this is bad.
Idealy I would like to double click the word, and have only the word become highlighted, as does with the HTML file.
How can I change the behaviour of my Java and JSP files to follow this rule.
Thanks
robin
Double clicking words
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Re: Double clicking words
From the What's new in 4.4.2
If a keyword in a syntax definition file contained a punctuation character (e.g. "."), that character was always treated as part of a word, when selecting or moving by word.
So you should
either update to current version 4.4.2
or change the syntax files
Andreas
If a keyword in a syntax definition file contained a punctuation character (e.g. "."), that character was always treated as part of a word, when selecting or moving by word.
So you should
either update to current version 4.4.2
or change the syntax files
Andreas