summaryrefslogtreecommitdiff
path: root/src/window.cc
AgeCommit message (Collapse)Author
2013-01-17Window: fix display position, count utf8 characters for columnMaxime Coste
2013-01-17Move Insertion Hooks handing to the input handlerMaxime Coste
2013-01-17Hooks now takes a non-const contextMaxime Coste
2012-12-28tweak window status line formatMaxime Coste
2012-12-13move selection updating code out of selection, to DynamicSelectionListMaxime Coste
this avoids a lot of unnecessary (add|remove)_change_listener as creating temporary Selections do not call that anymore. Use can choose between a SelectionList which or a DynamicSelectionList depending on wethear the buffer will be modified or not during the selections lifetime.
2012-11-30Selection: refactoring, move CaptureList to SelectionMaxime Coste
2012-11-23Refactor filter and highlighter registry into a common templateMaxime Coste
2012-11-22Cleanups and minor refactoring on BufferMaxime Coste
2012-11-22rename (hook|option)_manager to (hook|option)s.Maxime Coste
And Global(Hook|Option)Manager to Global(Hook|Option)s
2012-11-05Window: maintain the timestamp of last display buffer updateMaxime Coste
2012-10-31Window: sanitize position in set_positionMaxime Coste
2012-10-22merge contiguous DisplayAtoms after highlighting DisplayBufferMaxime Coste
2012-10-11fix Window::scroll_to_keep_cursor_visible_ifnMaxime Coste
2012-10-11use ByteCount instead of CharCount when we are really counting bytesMaxime Coste
(that is most of the time when we are not concerned with displaying)
2012-09-30Add a Window::display_position(const BufferIterator&) methodMaxime Coste
2012-09-26Editor now stores selections as SelectionAndCapturesListMaxime Coste
2012-09-24remove selection stack from editorMaxime Coste
2012-08-23use a strongly typed int CharCount for character countsMaxime Coste
2012-08-22use a strongly typed int LineCount for line countsMaxime Coste
2012-08-21add Window::center_selection methodMaxime Coste
2012-08-02Window: tolerate invisible cursor when it is the end of the bufferMaxime Coste
2012-07-15Window: handle horizontal scrolling correctlyMaxime Coste
Window::scroll_to_keep_cursor_visible_ifn now highlights the cursor line in order to find its real display position (for example if the number_lines highlighter is present it may modify the position).
2012-07-12DisplayBuffer: add range and compute_range methodsMaxime Coste
2012-07-12DisplayBuffer rewrite, a DisplayBuffer is now a list of DisplayLinesMaxime Coste
Code is now greatly simplified using this architecture, and DisplayAtoms no longer know their DisplayCoords and can be in any order.
2012-07-12Window: remove iterator_at and line_and_column_at methodsMaxime Coste
2012-07-03make display buffers and highlighters handle better longer than display linesMaxime Coste
still work in progress, I think the whole display system will in fact need a rewrite.
2012-06-14Windows call the WinSetOption hook when an option changesMaxime Coste
2012-06-12Add a FilterGroup, and cleanup HighlighterGroupMaxime Coste
FilterGroup is similar to HighlighterGroup, it permits grouping together filters for easy removal.
2012-06-07HookManager are now hierarchical from window to buffer to globalMaxime Coste
window hooks also executes buffer hook which also execute global hooks
2012-05-29Fix Window::scroll_to_keep_cursor_visible_ifnMaxime Coste
2012-04-14replace std::string references with StringMaxime Coste
2012-04-03add an OptionManager class and use it to manage tabstopsMaxime Coste
OptionManager map names to options, and may delegate option resolution to it's parent if it does not contains the asked for option. That way Buffers can override global options, and Windows can override Buffer options.
2012-04-03rename HooksManager to HookManagerMaxime Coste
2012-03-26remove unused measure_string from window.ccMaxime Coste
2012-03-21remove useless Window::cursor_{position,iterator}Maxime Coste
2012-03-08rename BufferString to StringMaxime Coste
2012-03-06fix last line handling in window display bufferMaxime Coste
2012-02-07Editor refactoring, merge undo and batch managementMaxime Coste
2012-02-03batches support in Editor, used by IncrementalInserter and exec_stringMaxime Coste
Editor groups all modification together in one undo group when batching. nested batches are supported.
2012-01-31extract an Editor class from Window and refactorMaxime Coste
2012-01-25remove DynamicBufferIterator and make Selection a ModificationListenerMaxime Coste
DynamicBufferIterator is only used by Selections. And each selection had two iterators, resulting in two ModificationListeners registered in the buffer instead of one now.
2012-01-25do not use a DynamicBufferIterator in IncrementalInserter::IncrementalInserterMaxime Coste
2012-01-25moving no longer clears multiple selectionsMaxime Coste
2012-01-24HooksManager: do not propagate hooks runtime exceptionMaxime Coste
2012-01-23Window have it's own hooks managerMaxime Coste
2012-01-23HooksManager: forward declare Context instead of including context.hhMaxime Coste
2012-01-23HooksManager: extract the Singleton version as GlobalHooksManagerMaxime Coste
2012-01-19HighlighterGroup: move to it's own file, Window uses them directlyMaxime Coste
2012-01-18completion support for addgrouphl and rmgrouphlMaxime Coste
2012-01-15Window: add get_highlighter_group methodMaxime Coste