Skip to content

Version 1.39

Compare
Choose a tag to compare
@billthefarmer billthefarmer released this 30 Jun 09:17
· 359 commits to master since this release

ic_launcher

  • Add mode line functionality
  • Replace search text after text change

If a line of text is found within the first or last two or three lines
of the file which matches the mode line pattern, the mode of the
editor will be changed after the file is loaded. The pattern is one or
more text or punctuation characters, white space, the text ed:
followed by one or more option patterns separated by white space.

# ed: [[no]ww] [[no]sg] [[no]hs] [th:l|d|r] [ts:l|m|s] [tf:m|p]

The initial text or punctuation characters are intended to be used to
hide the mode line from compilers and interpreters by commenting it
out.

The option patterns are:

  • [no]ww – Word wrap
  • [no]sg – Suggestions
  • [no]hs – Syntax highlighting
  • th:l|d|r – Theme – light, dark or retro
  • ts:l|m|s – Text size – large, medium or small
  • tf:m|p – Typeface – monospace or proportional

The mode line is read after the file is loaded and will change
immediately, except in Android 6, Marshmallow due to an obscure
bug. Rotate the device to change mode.