1. [OT] Notepad++ & Euphoria hi'light configuration
- Posted by znorq2 May 26, 2010
- 2768 views
Hey,
Any of you using Notepad with a Euphoria highlight configuration file? I've tried finding something usable on the net, but all in vain.
I've already created one myself using the simple highlight implementation, but it isn't good enough; for example, nested sequences uses wrong colors - colors between first "{" and first "}" will be correct, but the second "}" will show wrong color.
I presume that the more advanced Notepad highlight schemes can remedy this problem...?
Kenneth / ZNorQ
2. Re: [OT] Notepad++ & Euphoria hi'light configuration
- Posted by m_sabal May 26, 2010
- 2772 views
It's 3 years old, but here's what I've been using from the Euphoria archive. Thanks again, Igor.
3. Re: [OT] Notepad++ & Euphoria hi'light configuration
- Posted by LarryMiller May 26, 2010
- 2722 views
Euphoria syntax hilighting in Notepad is something of a problem. Notepad uses the Scintilla edit component in which much of the hilighting is done by a lexer which is a part of the Scintilla dll. This works well for languages that are supported by Scintilla. Euphoria is not, so it is necessary to use a lexer that is close. As a result syntax hilighting is not going to be 100% correct.
There is a Euphoria editor in the archives that uses a custom Scintilla DLL that has a Euphoria lexer. I expect that this would work with Notepad but have not tried it. This DLL also predates Euphoria 4 so that may cause some hilighting issues.
4. Re: [OT] Notepad++ & Euphoria hi'light configuration
- Posted by useless May 27, 2010
- 2672 views
There's a Textpad highlighter in the archives.
useless
5. Re: [OT] Notepad++ & Euphoria hi'light configuration
- Posted by znorq2 May 27, 2010
- 2677 views
It's 3 years old, but here's what I've been using from the Euphoria archive. Thanks again, Igor.
Yeah, tried that one out, but it is basically the same as what I've created my self, and I see it has the same flaws as mine...
Thanks though.
6. Re: [OT] Notepad++ & Euphoria hi'light configuration
- Posted by znorq2 May 27, 2010
- 2676 views
There's a Textpad highlighter in the archives.
useless
Gotten quite used to NP, and it's very difficult to switch to a new app.. I'll have a look into it though. Thanks, cat.
7. Re: [OT] Notepad++ & Euphoria hi'light configuration
- Posted by znorq2 May 27, 2010
- 2696 views
Euphoria syntax hilighting in Notepad is something of a problem. Notepad uses the Scintilla edit component in which much of the hilighting is done by a lexer which is a part of the Scintilla dll. This works well for languages that are supported by Scintilla. Euphoria is not, so it is necessary to use a lexer that is close. As a result syntax hilighting is not going to be 100% correct.
I'm not familiar with Scintilla, but after a quick google trip, it looks like another editor.
There is a Euphoria editor in the archives that uses a custom Scintilla DLL that has a Euphoria lexer. I expect that this would work with Notepad but have not tried it. This DLL also predates Euphoria 4 so that may cause some hilighting issues.
I'll have a look at it. (Since I mostly still use 3.xx, this might be a solution?)
To me, it seems that NP can handle highlighting on a better scale for those already implemented, such as C/C, etc., but I reckon that there is a more complex & clever configuration behind it..
One of the problems is that since minus (-) have at least 2 different uses in Euphoria (operator and for commenting), I'm left (as far as I can see) with the choice to highlight comments or the operator. I've chosen highlighting comments. I can live with this.
However, nested sequences - they are completely messed up, unfortunately..
Thanks for the feedback.
8. Re: [OT] Notepad++ & Euphoria hi'light configuration
- Posted by LarryMiller May 27, 2010
- 2669 views
Scintilla isn't an editor itself. It is a DLL that provides the editing component of Notepad. The DLL isn't available separately but comes bundled with an editor in the download. But it is little more than a demo for scintilla and isn't in the same clase as Notepad.
9. Re: [OT] Notepad++ & Euphoria hi'light configuration
- Posted by znorq2 May 28, 2010
- 2734 views
Scintilla isn't an editor itself. It is a DLL that provides the editing component of Notepad. The DLL isn't available separately but comes bundled with an editor in the download. But it is little more than a demo for scintilla and isn't in the same clase as Notepad.
Hehe, ok, learning something new every day. Thanks for the feedback! ;)