summaryrefslogtreecommitdiff
path: root/src/window.cc
AgeCommit message (Collapse)Author
2014-10-30Add scoped aliasesMaxime Coste
aliases are now stored in window, buffer, or globally.
2014-10-27Small formatting fixMaxime Coste
2014-10-22Refactor highlighters, use an interface with virtual methodsMaxime Coste
2014-10-06scrolloff is now a line,column pairMaxime Coste
Fixes #152
2014-09-09Add support for target column preservationMaxime Coste
Fixes #64
2014-05-13SelectionList know its buffer and timestampMaxime Coste
2014-05-07Refactor LineAndColumn coordinatesMaxime Coste
BufferCoord -> ByteCoord DisplayCoord -> CharCoord Moved their definition along with LineAndColumn into coord.hh
2014-04-02Fix clang compilationMaxime Coste
2014-01-28Rename selections first,last to more explicit anchor,cursorMaxime Coste
2014-01-21Fix adapt_view_pos when the cursor is not on a display atom by itselfMaxime Coste
2014-01-18Pass a HighlightFlags parameter to highlightersMaxime Coste
When only highlighting for finding character position on screen pass HighlightFlags::MoveOnly so that non moving highlighters do not need to run.
2013-12-20Get rid of Editor for goodMaxime Coste
ClientManager now stores only the free windows, clients take ownership of its own.
2013-12-16Pass a Context rather than a Window to highlightersMaxime Coste
2013-12-16Window: refactor center_selection/display_selection_atMaxime Coste
Take the line we are intersted in as a parameter rather than getting the main selection last char line.
2013-12-15Remove Editor::move_selectionsMaxime Coste
2013-12-14Remove Editor::main_selection(|index), directly use the SelectionList methodMaxime Coste
2013-11-28Window: forget timestamp when options changesMaxime Coste
2013-11-14Extract InputHandler from ClientMaxime Coste
2013-10-26Add a WinClose hookMaxime Coste
2013-10-25Add key mapping supportMaxime Coste
2013-09-27Support highlighters that add new lines in scroll_to_keep_cursor_visibleMaxime Coste
2013-07-26LineAndColumns: always pass by valueMaxime Coste
2013-07-24merge AtomContent into DisplayAtomMaxime Coste
2013-07-24Add scroll left/right supportMaxime Coste
2013-07-24Try to keep the selection start visible if possibleMaxime Coste
2013-07-24DisplayLine no longer map to a single buffer line, but to a buffer rangeMaxime Coste
2013-07-23try to preserve display column rather than buffer column when moving lineMaxime Coste
2013-06-29more horizontal scrolling fixesMaxime Coste
2013-06-28Fix horizontal scrolling support with replaced buffer rangesMaxime Coste
tab character were not properly handled when scrolling horizontally
2013-06-21fix highlighting bug with inserting at eol on lines with tabsMaxime Coste
2013-06-06remove Buffer:char_{distance,advance} use line access insteadMaxime Coste
2013-06-04Window: use AtomContent::length in scroll_to_keep_cursor_visible_ifnMaxime Coste
2013-06-04Use coord instead of iterators for selectionsMaxime Coste
2013-05-30window, editor: take coords rather than iterators parametersMaxime Coste
2013-05-30DisplayBuffer: use coords rather than iteratorsMaxime Coste
2013-05-29pass window param to highlightersMaxime Coste
2013-05-16Add scrolloff option supportMaxime Coste
2013-04-12Add zj and zk command for scrolling the windowMaxime Coste
2013-04-11add Window::display_selection_at(LineCount)Maxime Coste
2013-04-09sort includes directivesMaxime Coste
2013-04-09rename assert to kak_assert to avoid collisionsMaxime Coste
2013-03-19Add an 'insert_hide_sel' option, which hides selection when insertingMaxime Coste
2013-03-18Editor: keep selections sorted and use an index for the main oneMaxime Coste
2013-03-15Editor: replace selections().back() with main_selection()Maxime Coste
2013-03-05Strongly typed options supportMaxime Coste
* non builtins options require declaration using the decl command * At the moment, only int and string options are supported, however the goal of this change is to provide a consistent way to support more complex options, namely lists and booleans
2013-03-01Do not use a factory for window builtins highlightersMaxime Coste
This helps cleanup up the code, as factories no longer takes a window as parameter.
2013-03-01Window: segregate builtins highlighters from the othersMaxime Coste
2013-02-26Add an expand_unprintable highlighter which replaces unprintable char with ↵Maxime Coste
U+XXXX
2013-02-18move status line generation code to client managerMaxime Coste
2013-02-12Window: try to show as much of the selection as possibleMaxime Coste