3 Sep 2008 23:28
advancements with new editor widget
Hi all, just an update about the experimenting with a new editor widget. The new editor widget in the 'testcode' repository is improving quickly. Right now it can do: - scanning/highlighting in multiple runs so it won't lock the GUI - restart/resume scanning in any location, with a correct block and context stack - context sensitive autocompletion, for example the valid html attributes within a certain html tag - block begin/end highlighting (when you move your cursor over the begin, the end is highlighted) what needs to be done: - memory management, it has many memory leaks - when rescanning an area that has been scanned before it should first remove all tags and blocks in that area - if during rescanning a new end-of-block or end-of-context is found, the region after the changed area should be marked for rescanning - a pattern compiler from a language file. right now the test patterns are hardcoded. if you want more details on the design, check http://bluefish.cvs.sourceforge.net/bluefish/testcode/bftestview2/bftextview2.h?revision=1.9&view=markup regards, Olivier(Continue reading)
RSS Feed