
How to Use Multiline Comments in Lua with EmEditor Text Editor

How to Use Multiline Comments in Lua with EmEditor Text Editor
Viewing 3 posts - 1 through 3 (of 3 total)
- Author
Posts - May 11, 2010 at 1:28 pm #8445
MattG
Participant
Hi!
I am in the evaluation of EmEditor, and it is definitive my Favorite at the moment.
One thing I am not getting to work, I imported a ESY-Lua from the Library, checked the Highlight(2) -> Comments
Begin: –[[
End: ]]
So if I open my lua-file and check if Tools->Select Configuration my Lua-config is active, I still get no multiline highlight for that comment-block only the first line.
I compared this with a simple C-File
/*
foo
foo foo
*/
is correctly highlighted and the Config is the same.
any clues, or is it a Bug of the 9.13, which is the Eval-Version
Cheers
Matthias
May 11, 2010 at 4:24 pm #8446Yutaka Emura
Keymaster
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,
May 12, 2010 at 11:13 am #8448MattG
Participant
Hi!
Nice Idea!
Yes it helps, I understand its a bit difficult with that
–[[….]]
and — stuff.
Hehe… still my favorite editor
Cheers
Matthias - Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Also read:
- [New] Screencasting Guide What Is and How To
- 未经支持的硬件上运行 Windows 11 23H2版本 - 安装指南 | 多项途径解析
- 重建歷史:用6種不同技術自Windows PC中恢復網頁存查記錄
- Cookiebot-Enabled: Enhance Your Site's Analytics & Conversions
- Effortless Guide: Moving Your GarageBand Ringtones Onto Your iPhone
- How To Change Your Apple ID Password On your Apple iPhone 11 Pro Max
- How to Fix Android App Not Installed Error on Google Pixel 8 Quickly? | Dr.fone
- Innovative Auto Encryption Unravelers, 2024 Outlook
- Recuperación De Archivos Desde La Nube: Una Guía Rápida Y Sencilla
- Smart Techniques for Extracting Video Content From Telegram Channels
- Step-by-Step Guide to Cloning Your HDD to an M.2 SSD Seamlessly
- Step-by-Step Guide: Recovering Information From a Non-Bootable Laptop's Hard Drive
- Stop Your Downloads From Disappearing on Windows 11 with These 4 Effective Fixes!
- Top 5 Free MP3 Editors for Windows 11 Users: Effortless Audio Trimming
- Wiedergewonnene Kontrolle Über Ihr ECLIPSE-Entwicklungsprojekt: Wiederherstellung Gelöschter Projekte Mit Vier Praktischen Methoden
- Wiedergutmachung Bei Fehlender Wiederherstellungsumgebung Auf Dem PC Mit Windows 11 - Tipps & Tricks
- Title: How to Use Multiline Comments in Lua with EmEditor Text Editor
- Author: Joseph
- Created at : 2025-02-02 19:38:23
- Updated at : 2025-02-09 03:22:17
- Link: https://win-web3.techidaily.com/how-to-use-multiline-comments-in-lua-with-emeditor-text-editor/
- License: This work is licensed under CC BY-NC-SA 4.0.