Thread overview
Notepad ++ syntax highlighting
Sep 12, 2015
Tofu Ninja
Sep 12, 2015
Daniel N
Sep 12, 2015
Tofu Ninja
Sep 12, 2015
BBasile
Sep 14, 2015
Kagamin
Sep 15, 2015
BBasile
Sep 15, 2015
Kagamin
Sep 15, 2015
BBasile
September 12, 2015
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.
September 12, 2015
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...

September 12, 2015
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.
September 12, 2015
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...
September 14, 2015
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?
September 15, 2015
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:

---
#! char char "this is the first script line, should not be HL !"

// 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__
---
September 15, 2015
Most of these things are from D1. Anyway, isn't it normal for such editors to customize keyword list and their colors?
September 15, 2015
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.