Hi all
I wonder, is it possible to create / insert custom icons / actions into the menu of HTML Validator? I'm asking because I often have to insert special HTML codes for international symbols...
SDK for HTML validator / custom menu icons
-
- Rank I - Novice
- Posts: 15
- Joined: Fri May 19, 2006 2:18 am
- Location: Denmark
-
- Rank I - Novice
- Posts: 15
- Joined: Fri May 19, 2006 2:18 am
- Location: Denmark
Re: SDK for HTML validator / custom menu icons
OK, looking into the manual yet another time, it appears that HTML Validator also has Text Inserters.
However, when I insert a HTML symbol code, HTML Validator "translates" it upon insertion...so the code isn't inserted.
Example
This inserts æ - not 'æ
However, when I insert a HTML symbol code, HTML Validator "translates" it upon insertion...so the code isn't inserted.
Example
Code: Select all
<tag menu='Danish' flags='2' caption='æ' inserttext='æ' hint=Insert æ'/>
-
- Rank I - Novice
- Posts: 15
- Joined: Fri May 19, 2006 2:18 am
- Location: Denmark
Re: SDK for HTML validator / custom menu icons
And...here's how it's done - to answer my own question.
HTML Validator has inserters. Right-clicking in the menu, in some unused space, will show the menu. Checking menu "Inserters - user", will show the user menu. In the menu, click "User - Edit configuration" to show the configuration file. If one wants to insert symbols which shouldn't be translated - one has to separate it. Meaning if one wants to insert æ - one has to first show the & and then the rest of the symbol. The code for & is & - so the final code for aelig; is '&aelig;
Example line, inserted at the Bottom of the configuration file, but before </csetaginserterconfiguration>:
HTML Validator has inserters. Right-clicking in the menu, in some unused space, will show the menu. Checking menu "Inserters - user", will show the user menu. In the menu, click "User - Edit configuration" to show the configuration file. If one wants to insert symbols which shouldn't be translated - one has to separate it. Meaning if one wants to insert æ - one has to first show the & and then the rest of the symbol. The code for & is & - so the final code for aelig; is '&aelig;
Example line, inserted at the Bottom of the configuration file, but before </csetaginserterconfiguration>:
Code: Select all
<tag menu='Danish' caption='æ' inserttext='&aelig;' hint='Insert æ'/>
-
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
Re: SDK for HTML validator / custom menu icons
Hello,
Yes! That is correct. I'm glad you were able to figure it out. If there is something in the documentation that would have helped you figure it out faster then please let me know. I'm always looking to improve the documentation as well.
And don't forget you can press F4 to repeat the last Text Inserter operation... so if you need to choose that menu option more than one time in a row then you can choose it once from the menu and then just use F4 to repeat it again.
Thank you!
Yes! That is correct. I'm glad you were able to figure it out. If there is something in the documentation that would have helped you figure it out faster then please let me know. I'm always looking to improve the documentation as well.
And don't forget you can press F4 to repeat the last Text Inserter operation... so if you need to choose that menu option more than one time in a row then you can choose it once from the menu and then just use F4 to repeat it again.
Thank you!
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial