Re: Clone Find All / Clone Find Flat could benefit from auto highlighting of search term

2017-09-24 Thread Edward K. Ream
On Sun, Sep 24, 2017 at 2:46 PM, john lunzer wrote: > I had gotten close to getting past the trickiness before I got slammed at > work leaving no time after work for hobby dev. > > There is a lot I don't understand about the Qt/PyQt highlighter, running > Leo in the debugger

Re: Clone Find All / Clone Find Flat could benefit from auto highlighting of search term

2017-09-24 Thread john lunzer
I had gotten close to getting past the trickiness before I got slammed at work leaving no time after work for hobby dev. There is a lot I don't understand about the Qt/PyQt highlighter, running Leo in the debugger around the highlighting code was rough. Do you remember if there were any

Re: Clone Find All / Clone Find Flat could benefit from auto highlighting of search term

2017-09-21 Thread Edward K. Ream
On Tue, Sep 12, 2017 at 7:22 AM, john lunzer wrote: > I've been pouring through the syntax highlighting code and I think I've > actually come up with a pretty elegant solution: custom highlighting rules > > The QSyntaxHighlighter is likely the best option for this. Basically >

Re: Clone Find All / Clone Find Flat could benefit from auto highlighting of search term

2017-09-21 Thread Edward K. Ream
On Mon, Sep 11, 2017 at 9:01 PM, john lunzer wrote: > > It would be awesome if each "Found" collector node could keep each > individual search term highlighted for all their respective children. > ​An interesting idea. ​ > I think the syntax of the found collector node's is

Re: Clone Find All / Clone Find Flat could benefit from auto highlighting of search term

2017-09-12 Thread john lunzer
I've been pouring through the syntax highlighting code and I think I've actually come up with a pretty elegant solution: custom highlighting rules The QSyntaxHighlighter is likely the best option for this. Basically rather than matching a regex syntax in a headline you would use the newly