Commits

Author Commit Message Labels Comments Date
Yuya Nishihara
qscilib: reimplement code to update seach button availability as method It also owes update of initial state.
Angel Ezquerra
qscilib: add a button to search for the previous occurrence Also, relabel the "Search" button into "Next".
Wagner Bruna
customtools: fix typos
Yuya Nishihara
Merge with stable
Yuya Nishihara
docklog: clear text below prompt line on closePrompt() It makes completion list cleared on Enter key.
Yuya Nishihara
docklog: preserve scroll position when completion list get shorter - fix setCommandText() not to change the scroll position - always reserve extra page at bottom for margin - don't put "slop" area by ensureLineVisible() or ensureCursorVisible()
Yuya Nishihara
docklog: sprout method to remove trailing lines
Yuya Nishihara
docklog: remove double import of hgqt.run
Yuya Nishihara
docklog: count history items by negative index from end of list
Yuya Nishihara
docklog: unroll getNextIndex() of _searchhistory() for simplicity
Yuya Nishihara
docklog: add doctest for logic of historySearch()
Yuya Nishihara
docklog: extract logic of historySearch() as function so that it can be tested
Yuya Nishihara
docklog: ensure prompt line and candidates visible on command completion
Yuya Nishihara
docklog: rename historyComplete as it also searches hg/thg command table
Angel Ezquerra
docklog: add 'hg/thg command' completion If the user types a mercurial or tortoisehg command (i.e. starting with 'hg' or 'thg') and presses TAB in addition to showing matching history items, show relevant mercurial/tortoisehg commands and/or command options. If both matching history commands and mercurial/thg commands are shown, the matching mercurial/thg commands are shown after the history commands. Also, do not show the list of matc…
Yuya Nishihara
docklog: unify historyPrev and historyNext signals
Yuya Nishihara
docklog: save/restore command text on repository change or appendLog()
Yuya Nishihara
docklog: treat history candidate as temporary text With this change, history item does not affect commandText() until the user takes some action on it. Thus, _searchText is no longer necessary. It simplifies keyPressEvent() a bit.
Yuya Nishihara
docklog: reorder import lines
Yuya Nishihara
docklog: unify cursoronprompt flag and isReadOnly
Yuya Nishihara
docklog: make sure to not modify prompt text
Yuya Nishihara
docklog: completely disallow to move cursor on prompt text The previous implementation of _updatePrompt() failed to correct cursor position because: * it causes inconsistency to change position inside cursorPositionChanged * _ensurePrompt() does not correct cursor if prompt text is valid With this change, Home, Left and Backspace keys should work as expected.
Yuya Nishihara
docklog: make flash() less dynamically-defined Because it can be called lots of times, it makes sense to define statically.
Yuya Nishihara
docklog: move flash() method to _LogWidgetForConsole class ConsoleWidget tends to delegate view-layer functions to _LogWidgetForConsole.
Angel Ezquerra
docklog: add command history (closes #1779) It is now possible to use the up and down arrows to perform an incremental search (backwards or forward) through the previous commands that were typed into the output log. In addition: - Pressing "TAB" shows the commands whose beginning matches the currently typed command text. - Pressing "ESC" while the cursor is at the command prompt clears the current command prompt text. - Pressing "ESC" whil…
Yuya Nishihara
docklog: add method to replace command text of prompt-line
Yuya Nishihara
docklog: don't assume that prompt line is always at end This allows to append temporary text under the prompt line.
Yuya Nishihara
docklog: use len(text(line)) in place of lineLength(line) lineLength() does not return character-length but byte-length.
Yuya Nishihara
docklog: move ConsoleWidget from cmdui module cmdui is referenced by many widgets, but ConsoleWidget is only used by docklog. This change balances the density of cmdui and docklog modules.
Yuya Nishihara
sync: don't show "new branch" confirmation endlessly (fixes #1615)
Branches
stable
  1. Prev
  2. Next