EmEditor (text editor) Forum Index
   Questions and Answers about EmEditor Core
     LUA - Multiline Comment not Highlightet
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
Yutaka
Posted on: 5/11/2010 8:24 am
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2401
Re: LUA - Multiline Comment not Highlightet
Hello Matthias,

Thank you for trying EmEditor Professional!

I reproduced your issue, and the problem was the Line Comment (--) has more priority than multiline comment (--[[...]]). If you remove the string (--) from Line Comment text box in the Highlight (2) tab of configuration properties, it works. I am not sure if I can correct this behavior at this moment.

If you want both types of comments highlighted, instead of specifying -- in the Highlight (2) tab, you can add -- in the Highlight (1) tab, check "Highlight Right Side", and select your favorite color (1 - 10). You will also need to remove the already defined keyword (-) from the list.

I hope this helps.
Please don't hesitate to ask me if you have further questions.
Thank you,


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

Flat Previous Topic | Next Topic


Subject Poster Date
   LUA - Multiline Comment not Highlightet MattG 5/11/2010 5:28 am
   » Re: LUA - Multiline Comment not Highlightet Yutaka 5/11/2010 8:24 am
       Re: LUA - Multiline Comment not Highlightet MattG 5/12/2010 3:13 am

Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文