* list extra commands separately (commands with matches in description only)
* colorize variable names
* fix tab-width computation to keep bindings aligned
* add buffer functions:
int eb_skip_whitespace(EditBuffer *b, int offset, int dir);
int eb_skip_blank_lines(EditBuffer *b, int offset, int dir);
int eb_skip_paragraphs(EditBuffer *b, int offset, int n);
int eb_next_sentence(EditBuffer *b, int offset);
int eb_prev_sentence(EditBuffer *b, int offset);
int eb_skip_sentences(EditBuffer *b, int offset, int n);
* modify paragraph selection method.
* improve paragraph commands
* add paragraph commands:
- `fill-region`, `fill-buffer`, `fill-region-as-paragraph`
- `backward-kill-paragraph`
* add sentence commands
- `backward-kill-sentence`, `backward-sentence`, `forward-sentence`,
- `kill-sentence`, `mark-end-of-sentence`
* add transpose commands:
- `transpose-paragraphs` and `transpose-sentences`
* `delete-leading-space`: Delete any leading whitespace on the current line
* `delete-trailing-space`: Delete any trailing whitespace on the current line
* `delete-trailing-whitespace` Delete all the trailing whitespace across the current buffer.
These commands handle the region if highlighted
* add hierarchical view in dired left panel:
- left on closed dir or file moves to parent dir
- left on closed dir or file with no parent inserts the open parent dir at the top
- right on closed dir opens the directory
- right on open dir goes down to last visited item in this list or first if none
- right on file skips to the right window in preview mode
- space on directory expands or collapses it
* add `do_dired_path()`
* fix `qe_load_file()` for directories specified as relative paths
* fix `qe_load_file()` loading a directory into the dired left panel
* add dired sorting by fullname
* fix directory grouping for non alpha sort
* use direct array of `DiredItem` instead of `StringArray`
* add `dired_ignore_extensions[]`
* add `classify_fullnames()` to help with tree sorting
* add completion on `dired-sort` prompt
* add `dired-summary` on `?`
- `canonicalize_path` returns destination array
allow for destination to overlap source
- `qe_strcollate` compare directory name before contents
this fixes the pathnames sorting
- add `get_relativename(filename, dirname)`
Simple regexp patterns use a subset of POSIX regexp:
- only simple character classes, no escape sequences
- no assertions (except $), no backreferences
- embedded groups always generate maximal matches which
may cause the outer expression to fail match
* add `find_indent` and `make_indent` ancillary functions
* add `untabulate` on `S-TAB` to remove one indentation level
* rename `do_tab` as `do_tabulate` for consistency
* `tabulate` indents the region one level if visible
* add `indent-rigidly` commands: indent block interactively
- add `swap_int()`
- add commands for multi-line cursor:
* `start-multi-cursor` on `C-x <`
set the mark for a region with a cursor on each line
* `end-multi-cursor` on `C-x >`
end recording the multi-line cursor region and start editing
cancel the multi-line cursor with `C-g`
* `add-multi-cursor` on `C-x #`
add an extra cursor at point. Activate multi-line cursor editing
with `C-x \`
* `activate-multi-cursor` on `C-x \`
start multi-line cursor editing. Stop with C-g.
- UX is tentative, more work needed based on usage.
- replace `qe_malloc_dup()` with `qe_malloc_dup_bytes()` and `qe_malloc_dup_array()`
- replace `qe_realloc()` with `qe_realloc_bytes()` and `qe_realloc_array()`
- pass numbers of objects to `qe_malloc_dup_array` and `qe_realloc_array`
- add `qe_strndup()`
* Do not use CFLAGS for host tools when cross-compiling.
* Add a missing $(EXE). Maybe we should have a HOST_EXE but at least we can build.
* set target OS & CPU
Not really used, only for cosmetics.
Also, m68k is big endian. (Do we use this anywhere yet?)
* Force GNU-C99 standard for LLONG_MIN
* work around missing d_type in dirent struct
* pass const `char32_t` array and `QETermStyle` array to `ColorizeFunc`
* add `cp_colorize_line()` wrapper to call colorizer function on null
terminated buffer.
* remove unused `EditBuffer` colorize fields
* remove `EditState` field `colorize_func`: rely on `colorize_mode` only
* no longer combine style into codepoint buffer.
* remove `STYLE_BITS`, `STYLE_SHIFT`, `CHAR_MASK`
* rename `set_colorize_func` as `set_colorize_mode`
* rename `SET_COLOR` and `SET_COLOR1` as `SET_STYLE` and `SET_STYLE1`
* add documentation for buffer API functions
* adjusted `ustr_match_keyword` for consistency
* implement `byte_quote` natively
* implement `buf_byte_quote` using `byte_quote` instead of the reverse
* rename `buf_encode_byte()` as `buf_quote_byte()`
* change `buf_printf` return value for consistency
* let `strquote` always return the length of the conversion like `snprintf`