1 Feb 05:18
viewing text with CodeEditor
I'm using
Item('textstring',editor=CodeEditor())
as it gives a fixed width font which makes it easier to read.
Is it possible to add search capability?
I tried
Item('textstring',editor=CodeEditor(search='top'))
but that had no effect.
I saw something in a previous set of posts from last Feb (Fred, Gael,
Bryce) where Fred was looking to colour code keywords in the editor
and Gael & Bryce suggested SourceEditor. Can't get SourceEditor to work
though as it needs a parent, just trying to work out what that is by
looking for
PythonEditor in pyface.
I suppose my ultimate aim is to have a searchable, colour coded
(according to some external setup file that defines my keywords) editor.
Can anyone give me a push in the right direction?
Thanks
Brennan
(Continue reading)
RSS Feed