summaryrefslogtreecommitdiff
path: root/src/client.cc
AgeCommit message (Collapse)Author
2014-07-07Fix redrawing of windows when only the status line changesMaxime Coste
2014-07-07Use colors in status bar for certain flagsMaxime Coste
2014-06-22Do not try to reload buffer if the buffer was deletedMaxime Coste
Fixes #121
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-15Add an explicit refresh method to user interfaceMaxime Coste
With this refresh method user interface can defer updating the display until really needed.
2014-04-07Add support for querying client environement variablesMaxime Coste
At connection, a remote client sends all its environement to the server, which then provides access to client env through kak_client_env_VAR_NAME variables in the shell.
2014-04-02Fix clang compilationMaxime Coste
2014-04-01Minor formatting changesMaxime Coste
2014-03-26fix file reload prompt displaying invalid messageMaxime Coste
2014-03-24Use an info box to prompt for reloading of modified filesMaxime Coste
2014-03-07Clamp cursor position on buffer reloadingMaxime Coste
2014-01-28Rename selections first,last to more explicit anchor,cursorMaxime Coste
2014-01-27Fix compilation with clang 3.4Maxime 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-15Add Context::selections method, and use it in priority to the Editor's oneMaxime Coste
2013-12-14Remove Editor::select methods, add a non-const selections getterMaxime Coste
2013-12-14Remove Editor::main_selection(|index), directly use the SelectionList methodMaxime Coste
2013-11-14extract InputHandler to input_handler.{cc,hh}Maxime Coste
2013-11-14move Client::m_name to context, no more need for DraftUIMaxime Coste
2013-11-14Extract InputHandler from ClientMaxime Coste
2013-11-12Tweak prompt auto show completionMaxime Coste
* Auto show completion even before the first key is pressed * Auto show next completions when validating a single choice completion
2013-11-10use abreviated form for keys in client.ccMaxime Coste
2013-11-04Use InsertChar hook for char insertion, and InsertKey for key pressMaxime Coste
2013-11-04Tweak insert completion behaviourMaxime Coste
2013-11-04remove filters, use hooks insteadMaxime Coste
2013-11-04Remove IncrementalInserter and move it's code to InputModes::InsertMaxime Coste
2013-11-04Add automatic completion display in prompt modeMaxime Coste
Controlled by the autoshowcompl option Completers now take a CompletionFlag parameter, used to specify we want fast completion (tag completion can be slow, we do not want to run it if not explicitely wanted by the user).
2013-10-26Specify key modifiers using constexpr functions for brevityMaxime Coste
2013-10-26InputMode::Prompt: use an enum for mode rather than bool m_insert_regMaxime Coste
2013-10-26remove unneeded code in clientMaxime Coste
2013-10-25Add key mapping supportMaxime Coste
2013-10-21Add an autoreload YesNoAsk option, for configuring buffer reloading behaviour.Maxime Coste
2013-10-15Detect file external modification and ask the user whether to reload or notMaxime Coste
* Buffer now store a m_fs_timestamp field. * Client in Normal mode checks current buffer file every 500 ms, or each time it goes back to Normal mode.
2013-10-15Reset normal mode when changing the current editorMaxime Coste
2013-10-11Display session name in the status lineMaxime Coste
2013-10-11Display target register name in status line when recording a macroMaxime Coste
2013-10-11Let InputModes describe themselves for status line displayMaxime Coste
2013-10-10Remove Context::numeric_param, pass it directly to normal mode functionsMaxime Coste
2013-10-02Add <c-u> in insert mode for forcing commiting the current undo groupMaxime Coste
2013-09-23Add prefix_match function and use it instead of adhoc codeMaxime Coste
2013-09-16Add a InputMode::on_replaced virtual method.Maxime Coste
Destructors are not a good place to run mode exit hooks, as they wont be called until the next mode trash clearing, so we now call this virtual method on the previous mode just before it gets replaced.
2013-09-16Do not clear Client::m_mode_trash in handle_key, but in handle_available_inputMaxime Coste
handle_key can be called from exec_keys while running a hook, and a previous key in exec_keys could have changed the mode. This would make the mode that runned the hook deleted when the controls returns to it. handle_available_input should always be called at top level, so can safely clear the mode trash.
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-16Resurect Client::handle_available_input()Maxime Coste
2013-09-12rename InputHandler to ClientMaxime Coste
2012-10-17rename Client to InputHandlerMaxime Coste
2012-10-15Menu: support searching through choices with /Maxime Coste
when hitting / while in a menu, a regex filter can be entered so that only entries matching it are selectable, <esc> disable filtering while a second <esc> close the menu as usual.
2012-10-14Extract basic line editing functionality from PromptMode to LineEditorMaxime Coste