creating your own "language" ...
-
i would like to implement my own language in N++ … it is similar to html (it has tags)
like:<var>ruser.pravice = [<decode.pass>[$ruser.pravice][$ruser.password]</decode.pass>]</var> <access>pageClanekDelete [] [<redirectTo><!server_url>?err/401</redirectTo>]</access> <if>#usid <> [] then [ <sql>execute [delete from tblClanek where usid = '<#usid>']</sql> <return>1</return> ]</if>i cannot get N++ to highlight my new “commands”… ie <if> <return> <var> …
anyone got any ideas?i tried to “create your own language” but it only works with commands without <tags>
-
Using < and > as delimiter should do the job. Either to use it
as mechanism to color the text inside or with nesting enabled to color
the different keyword groups. -
thanks… tried it and it works half the way i want… but it is better then nothing.
thank you. -
without knowing what the second half should be it is hard to tell what can be done in addition.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login