• Notepad++ Syntax Highlighting Plugin
    188 replies, posted
  • Avatar of mr.killa
  • do i need this im only beginer? [editline]12:38PM[/editline] do i need this i onnly a beginner
  • Avatar of Handsome Matt
  • You don't need anything but a standard text editor, Notepad++ and syntax highlighters are just helpful.
  • Avatar of leeetdude
  • You need only editor and garrysmod to code lua. Edit: and wiki.garrysmod.com, of course.
  • Avatar of |FlapJack|
  • [QUOTE=leeetdude;18991703]You need only editor and garrysmod to code gLua. Edit: and wiki.garrysmod.com, of course.[/QUOTE] Corrected.
  • Avatar of CowThing
  • While this is here, does anyone plan on redoing the lists with all of the new functions and such? I would but I don't know how I would get all of the stuff without going through the wiki/source code to get them all.
  • Avatar of Dave_Parker
  • Oh wow, I just posted that suggestion a minute ago in another thread. I'll see if I can get around to it tomorrow.
  • Avatar of Garthex
  • I know I don't check this forum very often, but the google code page is linked to my email so you can create an issue letting me know the keywords are out of date and I'll update them.
  • Avatar of Garthex
  • Bump for release of version 1.3 which updates the keyword list and changes the comment style font to be more readable.
  • Avatar of aVoN
  • Hi Garthex, you once have made the Function List plugin compatible with this addon and I'm still thankfull for this. The function-list addon currently is available in 2.0 Beta and I'd like to see it working with your addon again (The version you have compiled crashes from time to time, that's why I'm asking). Now where I learned how to handle and compile C++, I were able modifying it ([url]http://pastebin.com/f42f7b830[/url] and [url]http://pastebin.com/f45d6dc22[/url]) so it at least adds an entry to the Function List menu. But as soon as I click on "try it", it switches NPP to some random language instead of "Gmod 10 Lua". Maybe you can take a look at it again (source is at [url]http://sourceforge.net/projects/npp-plugins/files/[/url]). And if you upload it as a compiled version again, could you also include the source-code so we can see what has chnaged?)
  • Avatar of CapsAdmin
  • I got 1.3 from google code and the highlighting is still ugly on other styles. It isn't slow though.
  • Avatar of Garthex
  • aVoN, I'm looking into FunctionList. CapsAdmin, are you referring to the themes? That hasn't been integrated into the Notepad++ release yet.
  • Avatar of CapsAdmin
  • [QUOTE=Garthex;19978892]aVoN, I'm looking into FunctionList. CapsAdmin, are you referring to the themes? That hasn't been integrated into the Notepad++ release yet.[/QUOTE] Oh. I thought it was cause it said so at the google code page. Can you post screenshots of what it looks like if possible?
  • Avatar of Garthex
  • That's referring to the change from Comic Sans MS to Courier New for comments. The main difference will be that Courier New is fix-width which should make it more readable. [editline]05:09PM[/editline] I haven't actually designed the theme font styles yet, just wrote the framework for them. If you want to make the themes for me you can. Just send me the GmodLua.xml file after you've gotten the styles how you want them for a certain theme. Otherwise, I'm just going to steal the styles from lua and java for each theme.
  • Avatar of Garthex
  • Ok aVoN, I got FunctionList working again. dv__ has been working on FunctionList since Jens has been MIA since releasing v2.0 beta. dv__ has a issue thread here you can check out. [url]https://sourceforge.net/tracker/index.php?func=detail&aid=2879685&group_id=189927&atid=931291[/url] I took his latest release (FunctionList20091109) and replaced menuCmdID.h with the current one found in Notepad++ v5.6.6 source and it started working again. The issue was a few constants were changed and FunctionList couldn't find my plugin any more. I compiled the dll/xml/etc but the install instructions aren't as simple as they used to be. Read the file install.txt for info. [url]http://code.google.com/p/npp-gmod-lua/downloads/detail?name=GmodLua_FunctionList_v2.0.zip[/url]
  • Avatar of aVoN
  • Thank you, I will test this soon. Did you change any more than this header and the already noticed enums I posted? [editline]12:47PM[/editline] Just tested the plugin. Works wonderful. Thank you very much!
  • Avatar of Garthex
  • I changed the header, added a Gmod syntax entry to the FunctionListRules.xml and added a Gmod 10 Lua.bmp. I did not change the enums you posted, since those weren't the correct way to do it. FunctionList should work with my plugin out of the box but didn't since the header was out of date.
  • Avatar of Mr_Roberto
  • I'm using windows 7 x64 and notepad++ is really slow when using this plugin... any insight Garthex?
  • Avatar of Dave_Parker
  • [QUOTE=Mr_Roberto;20201841]I'm using windows 7 x64 and notepad++ is really slow when using this plugin... any insight Garthex?[/QUOTE] Same, but mine isn't slow. My guess would be that your computer is just slow, or that you have a fuckton of other plugins installed lagging it down.
  • Avatar of Mr_Roberto
  • [QUOTE=Dave_Parker;20206513]Same, but mine isn't slow. My guess would be that your computer is just slow, or that you have a fuckton of other plugins installed lagging it down.[/QUOTE] I don't think so. It runs like a dream in regular lua mode, and the plugin didn't lag before I upgraded to windows 7.
  • Avatar of CowThing
  • On my laptop the syntax is slow, it's a Win7 x32. But on my desktop it's fine, it's a Vista x64.
  • Avatar of yakahughes
  • [QUOTE=Mr_Roberto;20215031]I don't think so. It runs like a dream in regular lua mode, and the plugin didn't lag before I upgraded to windows 7.[/QUOTE] Same here. Upgraded to Win7 32 bit and it's extremely laggy, it uses up 80% of my Intel Core2 Duo E6600 processor just from typing. On Windows XP it was fine.
  • Avatar of Garthex
  • Both my computers are win7 x64. On my desktop I didn't notice any lag, but my laptop is a bit laggy. This is from the vast amount of function calls it's checking against. Not a whole lot I can do for now. I have a few ideas on how to speed it up, but it'll require me to modify and submit a patch for notepad++ itself, like usual. For one, if it uses a tree structure instead of a linear list it can reduce the processing time to basically nothing. In other news, [b]automatic updates are now available!![/b] Use the built-in plugin manager, and it should show up under the updates tab. Also, anyone know why my garrysmod.org file got deleted without it telling me? Should I even bother putting it back up there?
  • Avatar of Garthex
  • I'll try to. I don't do any garry's mod stuff anymore, so just write up an issue on the google code page when it needs updating.
  • Yes, please re-upload the file to gmod.org, I'm sure a lot of people find it handy being able to access it there.
  • Avatar of Garthex
  • Are you guys getting requests to auto-update GmodLua from within Notepad++? (it should happen within 3 days)