zufuliu / notepad4

Notepad4 (Notepad2⨯2, Notepad2++) is a light-weight Scintilla based text editor for Windows with syntax highlighting, code folding, auto-completion and API list for many programming languages and documents, bundled with file browser plugin matepath.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LongPtr colouring

meteorquake opened this issue · comments

In this line in Visual Basic -
lStructSize As Long: hwndOwner As LongPtr
"LongPtr" is not coloured as "Long". Although a pseudotype, I think it should be coloured just the same :)
Cheers, David

Fixed by b64e2a4.

Cheers! Now just looking at that destination list there should also be coloured as CLng -
CCur CVar CVErr CLngLng CLngPtr CVDate

(Technically CVDate could be argued not to be coloured but I think it is helpful to be.)

and also coloured as String -
Currency LongLong LongPtr
In addition Variant should be coloured to match those

I'll have a look for others.

Sorry that wasn't meant to close it, the drop list was ambigous!

Now just looking at that destination list there should also be coloured as CLng

Done in 6fcc170.

Cheers that looks good! I'm just going to add new entries here as I encounter them which you might want to process periodically.
New addition:
PtrSafe should be coloured same as Function

function list will be added later (when LexVB.cxx is rewritten, keywords in stlVB.c and stlVBS.c will be changed to auto-generating from API files), I already have incomplete API files for VB and VBS, you can post document links for keyword, function and constant, etc. here. I can add them into the API file.