by KDurrance (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 5.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (13 Votes)
This control will colour vb code on load, and on the fly on enter press.. the keyword list, colours and various other formatting options are completely configurable..
Includes line numbering, supports code being pasted and colouring into the control either by Ctrl-V or by a WM_paste message being sent to the control.
Also includes methods such as linecounting, current column and line number, get current line text, get current word.. and more!
The colouring routine is very very fast and utilised the CString class for fast string contatenation by Francesco Balena..
Download Complete Syntax Colouring Control VERY FAST (35 KB)