summaryrefslogtreecommitdiff
path: root/src/context.hh
AgeCommit message (Collapse)Author
2015-04-19Avoid unneeded update of selections when we are going to overwrite themMaxime Coste
2015-04-19Remove Context::set_selections, use Context::selections() = ...Maxime Coste
2015-02-19Rename safe_ptr and ref_ptr to SafePtr and RefPtrMaxime Coste
2015-01-12replace all std::vector with VectorMaxime Coste
2014-12-18Do not register timers for transient input handlersMaxime Coste
2014-12-05Disable history writing when running hooksMaxime Coste
2014-12-05Consolidate constext disablable feature in a 'Disableable' helperMaxime Coste
2014-11-21Do not reset edition level to 0 on buffer changeMaxime Coste
Keep it as is, commit undo in current buffer, and we will commit it in the new buffer when edition level gets back to 0.
2014-10-30Add scope class and encapsulate Options, Keymaps, Aliases and Hooks in itMaxime Coste
2014-10-30Add scoped aliasesMaxime Coste
aliases are now stored in window, buffer, or globally.
2014-10-10Support changing buffer when an edition is in progressMaxime Coste
2014-07-27In non interactive interactive mode, disable user key mappingsMaxime Coste
exec and eval now accepts a -with-maps to use them. But by default they are disabled, so that all the indent scripts work even if you remap basic keys. Fixes #217
2014-07-24Disable hooks on a per context basis, and propagate that to Insert modeMaxime Coste
using \ before entering insert mode will disable hooks during the whole insert session rather than only the entering phase. That gives a nice way of pasting text into kakoune.
2014-06-27Replace boost::optional with our own implementationMaxime Coste
2014-06-21Use main selection index as default when accessing only one register valueMaxime Coste
Fixes #117
2014-06-01Add Context::set_selections(std::vector<Selection>)Maxime Coste
This methods avoids updating the context selection needlessly as they are going to get replaced anyway.
2014-05-14Use a plain SelectionList for Context, remove DynamicSelectionListMaxime Coste
2014-05-13Use simple SelectionList for the Context::JumpListMaxime Coste
2014-05-13SelectionList know its buffer and timestampMaxime Coste
2014-03-20Remove dangling forward declaration of Editor classMaxime Coste
2014-03-20Fix commentMaxime Coste
2014-01-06Do not allow changing buffer when the context is editingMaxime Coste
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-15Move Editor::selections_content to ContextMaxime Coste
2013-12-15Move insert and erase to normal.cc, and move edition management to contextMaxime Coste
2013-12-15Add Context::selections method, and use it in priority to the Editor's oneMaxime Coste
2013-11-14move Client::m_name to context, no more need for DraftUIMaxime Coste
2013-11-14Extract InputHandler from ClientMaxime Coste
2013-11-11Make Context a class, not a structMaxime Coste
2013-10-25Add key mapping supportMaxime Coste
2013-10-15Reset normal mode when changing the current editorMaxime Coste
2013-10-10Remove Context::numeric_param, pass it directly to normal mode functionsMaxime Coste
2013-09-16remove print_status from UserInterface, pass status line to drawMaxime Coste
Client store the current status line. This way calls to print status do not force the user interface to display directly.
2013-09-12rename InputHandler to ClientMaxime Coste
2013-09-12Move Client responsibilities to InputHandlerMaxime Coste
InputHandler owns it's UserInterface, and is directly stored by the ClientManager.
2013-05-29Context: return DynamicSelectionLists in jump_{forward,backward}Maxime Coste
2013-04-09move context implementation to context.ccMaxime Coste
2013-04-09Context: push_jump does not allow the same jump to be present multiple timesMaxime Coste
2013-04-04UserInterface: status line messages are now DisplayLinesMaxime Coste
This add color support for the status line
2013-03-22add WinDisplay hookMaxime Coste
2013-02-18Move last insert state from context to input handlerMaxime Coste
2013-01-29Context: remove some unused codeMaxime Coste
2013-01-29Context: fix unintialized m_input_handlerMaxime Coste
2013-01-28InputHandler have it's own contextMaxime Coste
2013-01-14Context: add a hooks method similar to the options oneMaxime 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-29Remote unused Context::change_uiMaxime Coste
2012-11-22rename (hook|option)_manager to (hook|option)s.Maxime Coste
And Global(Hook|Option)Manager to Global(Hook|Option)s