Many of us GM users have always wanted to create syntax highlighters/colour coders for GM, HERE IS THE CHANCE.
Scintilla (scintilla.org) is a "free source code editing component" including features like "support for syntax styling, error indicators, code completion and call tips".
Colour coding example
An example of syntax highlighting is GM's code/script editor which looks like:
global.test=room_width //just a test
Intro on the GM interfacer
Using 7 GML scripts you may control this great component. The current zip file contains a gm6 file, an exe file and 2 dll files. The gm6 file, apart from explaining how this system works, it is a complete dll tester with features like:
clear document, undo, redo, selection highlight colour, selection text colour, caret colour, cut, copy, paste, zoom in, zoom out, wrap words, set lexer, use markers aka "breakpoints", disable right-mouse-click edit popup, destroy window, set margin width, save/load text to/from file.
Some words of warning:
-Right now you need 2 dlls for this to work, we will in the future complete wrap the code in one dll.
-The GML lexer does not exist, we will be creating one in the future.
Creator: Christian Sciberras
Version: v4.5
ZIP file size: 1.27 Mb
Includes: tester.exe | tester.gm6 | GMScintilla.dll | SciLexer.dll
Link: Download Now: GMSCINT.zip
Edited by uuf6429, 26 December 2008 - 02:51 PM.











