On-the-fly language syntax highlighting

Ideas for new features

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
NewWorldMan
Posts: 10
Joined: Fri Feb 01, 2008 3:32 pm

On-the-fly language syntax highlighting

Post by NewWorldMan »

That is, similar to the functionality in Notepad++ where with a new document you can choose a language from the Language menu and immediately apply its settings including syntax highlighting. I guess in TextPad this would be the equivalent of applying the document class settings without first having to save it with one of the supported extensions.
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

In the meantime, try doing File Rename to the desired extension/class.
Hope this was helpful.............good luck,
Bob
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

Click into new document, then Alt-Return, then choose Syntax tab, select syntax file you want to apply.
NewWorldMan
Posts: 10
Joined: Fri Feb 01, 2008 3:32 pm

Post by NewWorldMan »

MudGuard wrote:Click into new document, then Alt-Return, then choose Syntax tab, select syntax file you want to apply.
Ah, you learn something new every day. :) Still, it would be nicer if this could be done in fewer keystrokes, i.e., directly from a menu.
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

You might try making that into a macro and assigning a hot key.
Hope this was helpful.............good luck,
Bob
Post Reply