From ktexteditor-devel Sat Feb 10 11:25:31 2007 From: Anders Lund Date: Sat, 10 Feb 2007 11:25:31 +0000 To: ktexteditor-devel Subject: Re: missing documentation Message-Id: <200702101225.32960.anders () alweb ! dk> X-MARC-Message: https://marc.info/?l=ktexteditor-devel&m=117110674421183 On Saturday 10 February 2007, Anders Lund wrote: > * I can't get teh arbitrary highlighting to work. I do not know, as I do > everything that the docs for the interfaces tell me I should. I have been > looking at some samples, for example the code folding appears to highlight > some lines when the folding bar is moused over. But I can't see what i > didn't do. I tried setting the insertbehavior of the range to ExpandRight, and after that the entire text of the document was highlighted initially (the range is created in the pluginview ctor). But when the range is changed, the text isn't highlighted. Then I tried calling addHighlightToView for the view/range before AND after changing the range, but to no avail. -- Anders www: http://www.alweb.dk jabber: anderslund@jabber.dk _______________________________________________ KTextEditor-Devel mailing list KTextEditor-Devel@kde.org https://mail.kde.org/mailman/listinfo/ktexteditor-devel