|
From: | Dan Sebald |
Subject: | [Octave-bug-tracker] [bug #58372] Editor: Highlight all occurrences of word selected by double click centers text in editor window when off screen |
Date: | Sat, 16 May 2020 04:01:52 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/80.0.3987.87 Chrome/80.0.3987.87 Safari/537.36 |
Follow-up Comment #1, bug #58372 (project octave): There is no proper QScintilla method like getXOffset() and setxOffset(). However, it's possible to access the proper routines via the base class's SendScintilla() method. Patch is attached. Please consider applying prior to the upcoming version 6.1 release. I've also attached a screen shot showing how the view remains the same. Very nice in the sense that there is a green dash in the left column to indicate there is an occurrence on the line even though the word isn't visible because it extends outside the area. (file #49087, file #49088) _______________________________________________________ Additional Item Attachment: File name: octave-highlight_all_occurrences_x_offset-djs2020may15.patch Size:1 KB <https://savannah.gnu.org/file/octave-highlight_all_occurrences_x_offset-djs2020may15.patch?file_id=49087> File name: Screenshot from 2020-05-16 03-55-06_editor_after_double_click_input2_fix-CROPPED.png Size:73 KB <https://savannah.gnu.org/file/Screenshot from 2020-05-16 03-55-06_editor_after_double_click_input2_fix-CROPPED.png?file_id=49088> _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?58372> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |