kakoune/src
Maxime Coste a9455bf132 Tolerate that the cursor might not be visible
Sometimes, like if the window is not high enough, we might not be
able to display any buffer lines, hence not have the cursor visible.

Fixes #1502
2017-07-16 13:12:17 +09:00
..
.gdbinit update gdbinit 2014-01-27 19:51:58 +00:00
alias_registry.cc Replace IdMap with HashMap 2017-03-07 01:12:37 +00:00
alias_registry.hh Remove some unneeded type declarations in AliasRegistry 2017-03-24 20:13:18 +00:00
array_view.hh Fix various undefined behaviours detected by UBSan 2017-06-26 11:27:18 +01:00
assert.cc Fixes some clang-tidy warning and add a few missing meta.hh include 2017-03-16 23:34:02 +00:00
assert.hh Use false instead of 0 in the kak_assert do while 2017-02-23 00:03:11 +00:00
backtrace.cc Apply clang-tidy modernize to the codebase 2017-01-08 22:39:01 +00:00
backtrace.hh Return a String in Backtrace::desc 2015-05-29 13:35:54 +01:00
buffer_manager.cc Small cleanup in BufferManager code 2016-11-29 19:12:10 +00:00
buffer_manager.hh Small cleanup in BufferManager code 2016-11-29 19:12:10 +00:00
buffer_utils.cc Add a -debug flag to :edit to set the buffer as debug data 2017-03-08 19:33:25 +00:00
buffer_utils.hh Add a -debug flag to :edit to set the buffer as debug data 2017-03-08 19:33:25 +00:00
buffer.cc Consider non-files buffers as never modified 2017-06-28 06:48:24 +01:00
buffer.hh Formatting fixes 2017-07-07 13:59:53 +09:00
buffer.inl.hh Simplify a bit buffer iteration functions 2017-06-12 06:10:18 +01:00
changes.cc Fix overly strict backward_sorted_until 2017-02-20 19:46:12 +00:00
changes.hh Update ranges highlighter options according to buffer changes 2017-01-13 13:52:55 +00:00
client_manager.cc Small code tweak 2017-05-27 06:17:44 +01:00
client_manager.hh Remove unused WindowAndSelections timestamp field 2017-01-29 12:50:16 +00:00
client.cc Hide info/menu when they are anchored to an invisible buffer coord 2017-06-16 10:19:08 +01:00
client.hh Hide info/menu when they are anchored to an invisible buffer coord 2017-06-16 10:19:08 +01:00
clock.hh Introduce chrono.hh 2016-07-24 21:25:05 +01:00
color.cc Move Colors enum class as NamedColor enum inside Color struct 2015-04-25 10:47:39 +01:00
color.hh Move Colors enum class as NamedColor enum inside Color struct 2015-04-25 10:47:39 +01:00
command_manager.cc Remove some dead code 2017-06-29 07:43:20 +01:00
command_manager.hh Remove some dead code 2017-06-29 07:43:20 +01:00
commands.cc Docs: add missing PromptIdle hook mentions 2017-07-05 13:45:45 +02:00
commands.hh Remove the exec_keys function 2015-12-27 23:15:09 +00:00
completion.cc Cleanup include dependencies a bit 2016-11-28 23:58:08 +00:00
completion.hh Fixes some clang-tidy warning and add a few missing meta.hh include 2017-03-16 23:34:02 +00:00
containers.hh Change ncurses_ui info box generation logic to use a Vector<String> 2017-05-28 19:58:18 +01:00
context.cc Fix bug where idle timers of disabled modes were still run 2017-05-22 16:57:22 +01:00
context.hh Move NestedBool to utils.hh 2017-06-07 11:55:42 +01:00
coord.hh Support codepoints of variable width 2016-10-01 13:45:00 +01:00
diff.hh Small code cleanup in diff implementation 2017-07-15 17:17:27 +09:00
display_buffer.cc Fix some other uses of invalid buffer coordinates in display code 2017-06-15 18:12:21 +01:00
display_buffer.hh Fix some other uses of invalid buffer coordinates in display code 2017-06-15 18:12:21 +01:00
enum.hh Move constexpr compatible Array struct to meta.hh 2017-05-17 20:20:31 +01:00
env_vars.cc Replace IdMap with HashMap 2017-03-07 01:12:37 +00:00
env_vars.hh Replace IdMap with HashMap 2017-03-07 01:12:37 +00:00
event_manager.cc Migrate WithBitOps template specialization to with_bit_ops function 2017-03-15 18:00:58 +00:00
event_manager.hh Formatting fixes 2017-07-07 13:59:53 +09:00
exception.cc exception::what returns a StringView rather than a const char* 2015-03-13 13:15:51 +00:00
exception.hh Apply clang-tidy modernize to the codebase 2017-01-08 22:39:01 +00:00
face_registry.cc fix: remove duplicate include to containers.hh in face_registry.cc 2017-05-30 20:01:31 +02:00
face_registry.hh Replace uses of UnorderedMap with HashMap 2017-03-07 01:03:26 +00:00
face.hh Migrate WithBitOps template specialization to with_bit_ops function 2017-03-15 18:00:58 +00:00
file.cc Use read_fd to get pipe command from stdin instead of ad-hoc code 2017-06-12 05:21:34 +01:00
file.hh src: Implement a write! command 2017-04-20 17:13:42 +03:00
flags.hh Migrate WithBitOps template specialization to with_bit_ops function 2017-03-15 18:00:58 +00:00
hash_map.cc Use microseconds instead of milliseconds for built-in profiling 2017-06-07 20:06:47 +01:00
hash_map.hh Try to please clang-3.5 2017-03-07 17:21:55 +00:00
hash.cc Fix various undefined behaviours detected by UBSan 2017-06-26 11:27:18 +01:00
hash.hh Introduce a custom HashMap implementation along with a quick benchmark 2017-03-06 22:25:08 +00:00
highlighter_group.cc Move passes logic to the base Highlighter class 2017-05-07 16:26:14 +01:00
highlighter_group.hh Move passes logic to the base Highlighter class 2017-05-07 16:26:14 +01:00
highlighter.hh Fix wrapping support 2017-06-09 16:00:22 +01:00
highlighters.cc Ensure cursor stays visible with wrapped line bigger than window 2017-06-27 09:29:25 +01:00
highlighters.hh Add an update-option command to update range-descs/line-descs options 2017-05-25 19:54:08 +01:00
hook_manager.cc Use microseconds instead of milliseconds for built-in profiling 2017-06-07 20:06:47 +01:00
hook_manager.hh Fix memory errors due to sharing the MatchResults in the Hooks struct 2017-06-07 19:18:15 +01:00
input_handler.cc Tolerate that the cursor might not be visible 2017-07-16 13:12:17 +09:00
input_handler.hh Remember count when repeating last insert 2017-06-25 07:25:31 +01:00
insert_completer.cc Use the extra_word_chars option in word based normal commands 2017-06-26 15:28:41 +01:00
insert_completer.hh Remove virtual destructor from OptionManagerWatcher 2017-05-22 10:31:56 +01:00
json_ui.cc Place hardware terminal cursor at the current main cursor/prompt cursor position 2017-04-12 10:39:17 +01:00
json_ui.hh Place hardware terminal cursor at the current main cursor/prompt cursor position 2017-04-12 10:39:17 +01:00
keymap_manager.cc Preserve order of definition of mappings when listing them 2017-07-11 09:51:56 +09:00
keymap_manager.hh Replace uses of UnorderedMap with HashMap 2017-03-07 01:03:26 +00:00
keys.cc Name key '+' as plus and '-' as minus 2017-04-11 10:47:15 +01:00
keys.hh Fixes some clang-tidy warning and add a few missing meta.hh include 2017-03-16 23:34:02 +00:00
line_modification.cc Fix the Buffer::end() madness 2017-06-11 12:01:40 +01:00
line_modification.hh Rewrite line modifications, hopefully with easier to comprehend code 2015-01-31 23:50:24 +00:00
main.cc Small startup message formatting tweak 2017-07-13 00:31:17 +09:00
Makefile Disable -Wunknown-attributes 2017-06-26 11:27:35 +01:00
memory.cc refactor slighly memory domain handling 2015-01-12 19:48:51 +00:00
memory.hh Modernize the way we compute memory domains from type 2017-05-26 07:59:18 +01:00
meta.hh Modernize the way we compute memory domains from type 2017-05-26 07:59:18 +01:00
ncurses_ui.cc Remove unused only_buffer mode for DisplayLine::trim 2017-06-09 15:30:13 +01:00
ncurses_ui.hh Place hardware terminal cursor at the current main cursor/prompt cursor position 2017-04-12 10:39:17 +01:00
normal.cc | now applies the diff of the modification instead of plain replace 2017-07-14 16:16:40 +09:00
normal.hh Use a HashMap to store the normal mode keymap 2017-03-16 23:40:38 +00:00
option_manager.cc Use an HashMap to store options in option manager 2017-06-23 09:54:21 +01:00
option_manager.hh Use an HashMap to store options in option manager 2017-06-23 09:54:21 +01:00
option_types.hh Change completion_extra_word_char to be a list of codepoints instead of a string 2017-06-26 14:39:17 +01:00
option.hh src: Add a commands debug flag 2017-06-17 11:27:07 +03:00
optional.hh Hide info/menu when they are anchored to an invisible buffer coord 2017-06-16 10:19:08 +01:00
parameters_parser.cc Improve readability of command docstrings by changing formatting 2017-06-04 08:37:51 +01:00
parameters_parser.hh Small code tweaks regarding flags handling 2017-03-15 18:25:59 +00:00
ranked_match.cc Change RankedMatch ordering to favor / characters 2017-06-04 08:27:53 +01:00
ranked_match.hh Migrate WithBitOps template specialization to with_bit_ops function 2017-03-15 18:00:58 +00:00
ref_ptr.hh Add some noexcept to pointer policies 2017-01-31 21:45:55 +00:00
regex.cc Fixes some clang-tidy warning and add a few missing meta.hh include 2017-03-16 23:34:02 +00:00
regex.hh Fix regex.hh compilation 2016-12-14 23:50:29 +00:00
register_manager.cc Docs: add missing colon register (last entered command) 2017-07-10 22:05:21 +02:00
register_manager.hh Replace uses of UnorderedMap with HashMap 2017-03-07 01:03:26 +00:00
remote.cc Fix various undefined behaviours detected by UBSan 2017-06-26 11:27:18 +01:00
remote.hh Support the +line syntax for clients as well. 2017-01-21 12:17:49 +00:00
safe_ptr.hh Add some noexcept to pointer policies 2017-01-31 21:45:55 +00:00
scope.hh small code formatting fix 2015-04-09 16:28:13 +01:00
selection.cc Fix replacing reducing selections to their cursor 2017-07-14 16:16:43 +09:00
selection.hh Fix an assert in compute modified ranges when merging single char ranges 2017-07-14 12:42:43 +09:00
selectors.cc Use the extra_word_chars option in word based normal commands 2017-06-26 15:28:41 +01:00
selectors.hh Pass a context instead of just the buffer to selector functions 2017-06-26 14:56:50 +01:00
shared_string.cc Use range based accumulate wrapper instead of std::accumulate 2017-06-07 13:36:47 +01:00
shared_string.hh Replace uses of UnorderedMap with HashMap 2017-03-07 01:03:26 +00:00
shell_manager.cc Use microseconds instead of milliseconds for built-in profiling 2017-06-07 20:06:47 +01:00
shell_manager.hh Migrate WithBitOps template specialization to with_bit_ops function 2017-03-15 18:00:58 +00:00
string.cc Use the extra_word_chars option in word based normal commands 2017-06-26 15:28:41 +01:00
string.hh Remove assert in String::String(Codepoint, ColumnCount) 2017-07-09 11:03:04 +09:00
unicode.hh Treat non printable characters as zero-width instead of -1 width 2017-07-07 10:57:32 +09:00
unit_tests.cc Small refactor in unit tests 2015-05-24 22:34:05 +01:00
unit_tests.hh Small refactor in unit tests 2015-05-24 22:34:05 +01:00
units.hh Make StringView and unit types trivial types 2017-01-29 13:49:45 +00:00
user_interface.hh Place hardware terminal cursor at the current main cursor/prompt cursor position 2017-04-12 10:39:17 +01:00
utf8_iterator.hh noexcept-ify utf8::iterator methods 2017-06-07 10:58:49 +01:00
utf8.hh Add noexcept specifiers to unicode and utf8 functions 2017-04-23 12:47:26 +01:00
utils.hh Fix various undefined behaviours detected by UBSan 2017-06-26 11:27:18 +01:00
value.hh Replace uses of UnorderedMap with HashMap 2017-03-07 01:03:26 +00:00
vector.hh Modernize the way we compute memory domains from type 2017-05-26 07:59:18 +01:00
window.cc Hide info/menu when they are anchored to an invisible buffer coord 2017-06-16 10:19:08 +01:00
window.hh Hide info/menu when they are anchored to an invisible buffer coord 2017-06-16 10:19:08 +01:00
word_db.cc Use the extra_word_chars option in word based normal commands 2017-06-26 15:28:41 +01:00
word_db.hh Remove virtual destructor from OptionManagerWatcher 2017-05-22 10:31:56 +01:00