Mercurial > octave-nkf
view CITATION @ 18888:0a66861d8069 gui-release
implementation of search in selection in gui editor (bbug #41196)
* configure.ac: do the check OCTAVE_CHECK_FUNC_QSCI_FINDSELECTION
* acinclude.m4 (OCTAVE_CHECK_FUNC_QSCI_FINDSELECTION): new function testing
whether QsciScintilla::findFirstInSelection is available (added in 2.7)
* find-dialog.cc (constructor): box for searching in selection enabled when
function is available, connect signals when search has changed and when
search selection is activated to the new related slots, initialize new
flag for indicating an ongoing replace;
(handle_search_text_changed): new slot reseting search result;
(handle_sel_search_changed): new slot reseting search result;
(handle_selection_changed): new slot enabling check box for search selection,
nothing is done when the change was due to a replace operation;
(find): revise calculation of cursor position for starting the search at end,
add searching in selection if related check box is checked, use backward
search when replacing all
(do_replace): set flag for an active replace operation indicating that the
selection is not changed by the user;
(replace): switch to robust backward search, using new function do_replace;
(replace_all): recover cursor position only when nor searching in selection,
reset search result after operation, using new function do_replace
* find-dialog.h: new flag for active replace operation, new slots
author | Torsten <ttl@justmail.de> |
---|---|
date | Sun, 22 Jun 2014 15:42:00 +0200 |
parents | a6d13c62fccf |
children | f5d9e57d4380 |
line wrap: on
line source
To cite GNU Octave in publications use: John W. Eaton, David Bateman, Søren Hauberg, Rik Wehbring (2014). GNU Octave version 3.8.1 manual: a high-level interactive language for numerical computations. CreateSpace Independent Publishing Platform. ISBN 1441413006, URL http://www.gnu.org/software/octave/doc/interpreter/ A BibTeX entry for LaTeX users is: @book{, author = {John W. Eaton, David Bateman, S\oren Hauberg, and Rik Wehbring}, title = {{GNU Octave} version 3.8.1 manual: a high-level interactive language for numerical computations}, publisher = {CreateSpace Independent Publishing Platform}, year = {2014}, note = {{ISBN} 1441413006}, url = {http://www.gnu.org/software/octave/doc/interpreter}, } We have invested a lot of time and effort in creating GNU Octave, please cite it when using it. See also `citation pkgname' for citing Octave packages.