Hi John,
The syntax coloring definitions are in the /dependancies/vb.bin file.
The editor component we use is actually another open source vb6 ocx control
called scivb_lite, which in turn wraps the functionality of the open source
C scintilla dll.
https://github.com/dzzie/scivb_litehttp://www.scintilla.orgThe syntax definitions file is a binary format. You can use the hilight_editor.exe sub project from
scivb repository to modify it.
https://github.com/dzzie/scivb_lite/raw/master/hilight_editor/hilight_editor.exe(Note the editor does not have a browse button for the load file textbox,
but you can drag and drop a file into the path textbox to load it.)
I have not done much work with this area of scivb yet. The original scivb was done by a couple other
authors, I spent about a month reworking it for use in my own projects. The vb.bin
file is one that they had provided.
Scintilla also provides some other features that are not currently enabled in the sb debugger such as
code folding, and indentation guides. (The cold folding for basic syntax is actually purely based on
indentation which is buggy hence disabled)
There is a tool bar button for Single step, it is named Step Into. I have recently updated the readme
to show the hot keys supported:
- special hot keys:
ctrl-f - find/replace
ctrl-g - goto line
ctrl-z - undo
ctrl-y - redo
F2 - set breakpoint (runtime only)
F5 - go
F7 - single step
F8 - step over
F9 - step out
To rebuild SBDebug.exe, just open test.vbp in the top level directory in VB6. I will probably change this project file
name to sbdebug.vbp in the future now that the exe has a name.
to rebuild the SBDebug_Setup.exe installer package, you use inno setup and the install_script.iss.
There have also been some updates to SBDebug.exe since the last installer was generated. You can always see the
cutting edge progress from the commit log
https://github.com/dzzie/ScriptBasic_Control/commits/master