Space in keywords

Discussion Forums discussion Space in keywords

This topic contains 0 voices and has 1 reply.

Viewing 2 posts - 1 through 2 (of 2 total)
Author Posts
Author Posts
July 3, 2007 at 10:57 am #250



Been trying to find an editor that allows custom syntax – where a keyword can be defined as a string – rather than just a word.

Was about to write a lexer for scintilla, and use notepad++, but then found PN and prefer the interface!!

So, before I embark on creating a lexer – is it actually possible in the existing lexers to define keywords with spaces in?

Many thanks….


July 19, 2007 at 1:43 pm #15499

Key Master

Hi John, I’ve never tried to do this so I’m not sure. You’d have to write a proper lexer from scratch (using C++) rather than trying to use the built-in lexer which doesn’t support this.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.