Notepad++ Syntax Highlight, AutoComplete - AHK v1 & v2 - 2023/10/05
Re: Notepad++ Syntax Highlight - AHK v1/2 combined - 2020/07/02 - release 8
@sdkyron
This is meant for a dark theme. Change the theme by going to Settings Menu > Style Configurator.... I use "Deep Black".
This is meant for a dark theme. Change the theme by going to Settings Menu > Style Configurator.... I use "Deep Black".
« AHK Portable Installer » | « CallTipsForAll » | « TheArkive AHK v1 Scripts » | « TheArkive AHK v2 Scrpts » | « TheArkive on GitHub »
Re: Notepad++ Syntax Highlight (Dark Theme) - AHK v1/2 combined - 2020/07/02
Oh darn sorry, i didn't notice the dark theme part, sorry about that
Re: Notepad++ Syntax Highlight (Dark Theme) - AHK v1/2 combined - 2020/07/02
@sdkyron
The theme of Notepad++ must be dark I think
The theme of Notepad++ must be dark I think
Re: Notepad++ Syntax Highlight - AHK v1/2 combined - 2020/07/02 - release 8
I'd have to make a separate theme. But thats not too hard. If you dont want to wait, you can install this theme and change the colors yourself in User Defined Language menu in Notepad++.
« AHK Portable Installer » | « CallTipsForAll » | « TheArkive AHK v1 Scripts » | « TheArkive AHK v2 Scrpts » | « TheArkive on GitHub »
Re: Notepad++ Syntax Highlight - AHK v1/2 combined - 2020/07/02 - release 8
It was actually a question about np++ which I don't know much about (if I could have one theme for AHK and the rest white) but a white theme would be great
Re: Notepad++ Syntax Highlight - AHK v1/2 combined - 2020/07/02 - release 8
Ah, I believe so, but I haven't ever tried that actually. Sorry I couldn't be more help.
« AHK Portable Installer » | « CallTipsForAll » | « TheArkive AHK v1 Scripts » | « TheArkive AHK v2 Scrpts » | « TheArkive on GitHub »
Re: Notepad++ Syntax Highlight (Dark Theme) - AHK v1/2 combined - 2020/07/02
Thanks for sharing.
gives this a softer feel combining it with HinkerLoden's style on a greenish background.
gives this a softer feel combining it with HinkerLoden's style on a greenish background.
Spoiler
Just curious, were there items in particular set to go in Keywords7? itros "ylbbub eht tuO kaerB" a ni kcuts m'I pleH
Re: Notepad++ Syntax Highlight (Dark Theme) - AHK v1/2 combined - 2020/07/02
@lmstearn
I actually can't remember at the moment. I think I found that some items were split (like certain functions/commands), and I ended up taking what was there and putting it somewhere else.
This is actually modified from one of the "official" threads for Notepad++ setup (I think this one maybe), but honestly I just can't remember.
For me, I just found the grouping of keywords in AHK to make more sense with only 7 groups, not all 8.
And actually this theme is due for an update. I just haven't got around to it yet.
I actually can't remember at the moment. I think I found that some items were split (like certain functions/commands), and I ended up taking what was there and putting it somewhere else.
This is actually modified from one of the "official" threads for Notepad++ setup (I think this one maybe), but honestly I just can't remember.
For me, I just found the grouping of keywords in AHK to make more sense with only 7 groups, not all 8.
And actually this theme is due for an update. I just haven't got around to it yet.
« AHK Portable Installer » | « CallTipsForAll » | « TheArkive AHK v1 Scripts » | « TheArkive AHK v2 Scrpts » | « TheArkive on GitHub »
Re: Notepad++ Syntax Highlight (Dark Theme) - AHK v1/2 combined - 2020/07/02
Class is missing as a keyword.
I think global, local and static make more sense to be grouped with (coloured like) control flow statements rather than commands.
Is there no way for a UDL to integrate with the current Notepad++ theme?
I think global, local and static make more sense to be grouped with (coloured like) control flow statements rather than commands.
Is there no way for a UDL to integrate with the current Notepad++ theme?
Re: Notepad++ Syntax Highlight (Dark Theme) - AHK v1/2 combined - 2020/07/02
Ok I'll make those changes.
As for UDL and theme stuff, it really depends on the user configuration of Notepad++, and there is no "cure" for near-white text against a white background.
I can come up with a few different themes. That should work out fine.
EDIT: If there were a link between UDL theme and Notepad++ theme, that would be nice, but I've never found such a link.
« AHK Portable Installer » | « CallTipsForAll » | « TheArkive AHK v1 Scripts » | « TheArkive AHK v2 Scrpts » | « TheArkive on GitHub »
- A Keymaker
- Posts: 461
- Joined: 31 May 2022, 13:46
- Location: Donjon du Château de Mérovingien
Re: Notepad++ Syntax Highlight (Dark Theme) - AHK v1/2 combined - 2020/07/02
Great- but how can I use this?
After coping AutoHotkey v1-v2 Syntax Highlighting.xml file to
C:\Users\YOUR-USER-NAME\AppData\Roaming\Notepad++\themes
it was selectable under
Settings > Style Configurator > Select theme
but after selecting it both Launguage and Style became empty and when I clicked the Save & Close button, Notepad++ just apparently crashed and closed. After opening it again, my choice was reverted to previously used theme
After coping AutoHotkey v1-v2 Syntax Highlighting.xml file to
C:\Users\YOUR-USER-NAME\AppData\Roaming\Notepad++\themes
it was selectable under
Settings > Style Configurator > Select theme
but after selecting it both Launguage and Style became empty and when I clicked the Save & Close button, Notepad++ just apparently crashed and closed. After opening it again, my choice was reverted to previously used theme
Re: Notepad++ Syntax Highlight (Dark Theme) - AHK v1/2 combined - 2020/07/02
A Keymaker wrote: ↑18 Jan 2023, 09:05Great- but how can I use this?
After coping AutoHotkey v1-v2 Syntax Highlighting.xml file to
C:\Users\YOUR-USER-NAME\AppData\Roaming\Notepad++\themes
it was selectable under
Settings > Style Configurator > Select theme
but after selecting it both Launguage and Style became empty and when I clicked the Save & Close button, Notepad++ just apparently crashed and closed. After opening it again, my choice was reverted to previously used theme
Yah I need to re-upload some stuff, and modify the instructions. Newer versions of Notepad++ are different from when the OP was first made. It's on my to-do list.
« AHK Portable Installer » | « CallTipsForAll » | « TheArkive AHK v1 Scripts » | « TheArkive AHK v2 Scrpts » | « TheArkive on GitHub »
Re: Notepad++ Syntax Highlight (Dark Theme) - AHK v1/2 combined - 2020/07/02
First, Thanks for a great theme.
Secondly, I found a "bug" when working with multiple quotes. It wrongly colors from ] onwards the rest of the ahk file. Even here on the forum it's colored wrongly.
Secondly, I found a "bug" when working with multiple quotes. It wrongly colors from ] onwards the rest of the ahk file. Even here on the forum it's colored wrongly.
Code: Select all
FoundPos := RegExMatch(A_LoopReadLine, '"playerName": "([^"]+)"' , &O)
I am also: -motiv for professional, volunteer & open source (web) development
Re: Notepad++ Syntax Highlight (Dark Theme) - AHK v1/2 combined - 2020/07/02
I guess it's time for an update. Mine currently doesn't do that.
« AHK Portable Installer » | « CallTipsForAll » | « TheArkive AHK v1 Scripts » | « TheArkive AHK v2 Scrpts » | « TheArkive on GitHub »
Re: Notepad++ Syntax Highlight (Dark/Light Theme) - AHK v1 & v2 - 2023/09/30
You got a newer developer version where it might be fixed or you think it's something on my side?
I am also: -motiv for professional, volunteer & open source (web) development
Re: Notepad++ Syntax Highlight (Dark/Light Theme) - AHK v1 & v2 - 2023/09/30
I use Npp v8.5.7 (latest). I also updated the op with the UDL settings i use currently. Did you try those?
« AHK Portable Installer » | « CallTipsForAll » | « TheArkive AHK v1 Scripts » | « TheArkive AHK v2 Scrpts » | « TheArkive on GitHub »
Re: Notepad++ Syntax Highlight (Dark/Light Theme) - AHK v1 & v2 - 2023/09/30
Same n++ version. Remind me what op is?
Re: Notepad++ Syntax Highlight (Dark/Light Theme) - AHK v1 & v2 - 2023/09/30
OP = original post, first post in this thread
« AHK Portable Installer » | « CallTipsForAll » | « TheArkive AHK v1 Scripts » | « TheArkive AHK v2 Scrpts » | « TheArkive on GitHub »
Re: Notepad++ Syntax Highlight (Dark/Light Theme) - AHK v1 & v2 - 2023/09/30
Dow! Of course! I was thinking something in N++. Anyway, it works now! Thanks for the update!
I am also: -motiv for professional, volunteer & open source (web) development