www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Notepad ++ syntax highlighting

reply "Tofu Ninja" <emmons0 purdue.edu> writes:
Just out of curiosity, has any one else noticed the D syntax 
highlighting in notepad++ does not work. It shows up in the 
language menu but clicking on it does nothing for me. Its been 
like this for a few versions now as far as I can tell.
Sep 11 2015
next sibling parent reply "Daniel N" <ufo orbiting.us> writes:
On Saturday, 12 September 2015 at 06:05:46 UTC, Tofu Ninja wrote:
 Just out of curiosity, has any one else noticed the D syntax 
 highlighting in notepad++ does not work. It shows up in the 
 language menu but clicking on it does nothing for me. Its been 
 like this for a few versions now as far as I can tell.
Oh, I didn't have any issues upto and including 6.8.1. Didn't try the latest yet...
Sep 12 2015
parent "Tofu Ninja" <emmons0 purdue.edu> writes:
On Saturday, 12 September 2015 at 09:13:35 UTC, Daniel N wrote:
 On Saturday, 12 September 2015 at 06:05:46 UTC, Tofu Ninja 
 wrote:
 Just out of curiosity, has any one else noticed the D syntax 
 highlighting in notepad++ does not work. It shows up in the 
 language menu but clicking on it does nothing for me. Its been 
 like this for a few versions now as far as I can tell.
Oh, I didn't have any issues upto and including 6.8.1. Didn't try the latest yet...
I am currently on 6.8.3. I just updated, but I didn't check what I was at before I updated, though I think I was probably at 6.8.2.
Sep 12 2015
prev sibling parent reply "BBasile" <bb.temp gmx.com> writes:
On Saturday, 12 September 2015 at 06:05:46 UTC, Tofu Ninja wrote:
 Just out of curiosity, has any one else noticed the D syntax 
 highlighting in notepad++ does not work. It shows up in the 
 language menu but clicking on it does nothing for me. Its been 
 like this for a few versions now as far as I can tell.
A bit OT but Npp D highlighter is based on D1. Even when it works it's more or less accurate depending on your median D style, more or less D1 ok, D2 ew... Maybe one day someone will contact the guy and tell him that his scintilla D HL is obsolete. It won't be me because I'm hapy with Coedit, but nobody prevent you to tell him...
Sep 12 2015
parent reply Kagamin <spam here.lot> writes:
On Saturday, 12 September 2015 at 18:03:09 UTC, BBasile wrote:
 A bit OT but Npp D highlighter is based on D1. Even when it 
 works it's more or less accurate depending on your median D 
 style, more or less D1 ok, D2 ew...
There's not much difference between D1 and D2 w.r.t. lexer. What from D2 doesn't work?
Sep 14 2015
parent reply BBasile <bb.temp gmx.com> writes:
On Monday, 14 September 2015 at 08:09:43 UTC, Kagamin wrote:
 On Saturday, 12 September 2015 at 18:03:09 UTC, BBasile wrote:
 A bit OT but Npp D highlighter is based on D1. Even when it 
 works it's more or less accurate depending on your median D 
 style, more or less D1 ok, D2 ew...
There's not much difference between D1 and D2 w.r.t. lexer. What from D2 doesn't work?
Here is the list, copy and paste in a new empty NPP doc and set the HL to D: --- // raw/WYSISYG/delimited/hex strings not handled `string`; r"string"; q"string"; x"46 47 48"; // symbols not handled $ // keywords not handled immutable macro nothrow pure ref shared // could be keywords string wstring dstring size_t ptrdiff_t // specials keywords: could have a special color __FILE__ __MODULE__ __LINE__ __FUNCTION__ __PRETTY_FUNCTION__ __gshared __traits __vector __parameters __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__ ---
Sep 14 2015
parent reply Kagamin <spam here.lot> writes:
Most of these things are from D1. Anyway, isn't it normal for 
such editors to customize keyword list and their colors?
Sep 15 2015
parent BBasile <bb.temp gmx.com> writes:
On Tuesday, 15 September 2015 at 14:03:38 UTC, Kagamin wrote:
 Most of these things are from D1. Anyway, isn't it normal for 
 such editors to customize keyword list and their colors?
library types maybe can be set by the user but default keywords should be handled by the default scintilla lexer.
Sep 15 2015