From fc08350436e329e03c17a79058d8abb14b117367 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 1 Nov 2018 09:09:22 -0400 Subject: Updated manual and CHANGELOG.md. --- CHANGELOG.md | 34 ++++++++++++++++------------------ doc/manual.md | 50 ++++++++++++++++++++++++++------------------------ 2 files changed, 42 insertions(+), 42 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 43123d16..d84f0e56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ Download: * [Textadept 10.2 -- Win32][] | [PGP -- 10.2 Win32][] -* [Textadept 10.2 -- Mac OSX Intel 10.6+][] | [PGP -- 10.2 OSX][] +* [Textadept 10.2 -- Mac OSX 10.6+][] | [PGP -- 10.2 OSX][] * [Textadept 10.2 -- Linux][] | [PGP -- 10.2 Linux][] * [Textadept 10.2 -- Linux x86_64][] | [PGP -- 10.2 Linux x86_64][] * [Textadept 10.2 -- Modules][] | [PGP -- 10.2 Modules][] @@ -31,22 +31,22 @@ Bugfixes: Changes: -* Experimentally moved `spawn()` into [`os.spawn()`][] as a Lua patch. +* Renamed `spawn()` to [`os.spawn()`][]. * [`os.spawn()`][] now allows omission of `cwd` and `env` parameters. * [`spawn_proc:wait()`][] returns the process' exit code. * [`textadept.editing.filter_through()`][] halts on non-zero status instead of clobbering the buffer or selected text. * Removed `textadept.editing.paste()` and `textadept.editing.paste_reindents` - option. -* Added [`textadept.macros`][] module for recording, playing, saving, and - loading keyboard macros. + option; Textadept no longer reindents pasted text by default. +* Experimentally added [`textadept.macros`][] module for recording, playing, + saving, and loading keyboard macros. * Scintilla: Improve efficiency of idle wrapping. * Scintilla: Updated case conversion and character categories to Unicode 11. * Scintilla: Updated ConTeXt, HTML, and Markdown lexers. * Updated to [Scintilla][] 3.10.1. [Textadept 10.2 -- Win32]: download/textadept_10.2.win32.zip -[Textadept 10.2 -- Mac OSX Intel 10.6+]: download/textadept_10.2.osx.zip +[Textadept 10.2 -- Mac OSX 10.6+]: download/textadept_10.2.osx.zip [Textadept 10.2 -- Linux]: download/textadept_10.2.i386.tgz [Textadept 10.2 -- Linux x86_64]: download/textadept_10.2.x86_64.tgz [Textadept 10.2 -- Modules]: download/textadept_10.2.modules.zip @@ -67,7 +67,7 @@ Changes: Download: * [Textadept 10.1 -- Win32][] | [PGP -- 10.1 Win32][] -* [Textadept 10.1 -- Mac OSX Intel 10.6+][] | [PGP -- 10.1 OSX][] +* [Textadept 10.1 -- Mac OSX 10.6+][] | [PGP -- 10.1 OSX][] * [Textadept 10.1 -- Linux][] | [PGP -- 10.1 Linux][] * [Textadept 10.1 -- Linux x86_64][] | [PGP -- 10.1 Linux x86_64][] * [Textadept 10.1 -- Modules][] | [PGP -- 10.1 Modules][] @@ -89,7 +89,7 @@ Changes: issues. [Textadept 10.1 -- Win32]: download/textadept_10.1.win32.zip -[Textadept 10.1 -- Mac OSX Intel 10.6+]: download/textadept_10.1.osx.zip +[Textadept 10.1 -- Mac OSX 10.6+]: download/textadept_10.1.osx.zip [Textadept 10.1 -- Linux]: download/textadept_10.1.i386.tgz [Textadept 10.1 -- Linux x86_64]: download/textadept_10.1.x86_64.tgz [Textadept 10.1 -- Modules]: download/textadept_10.1.modules.zip @@ -111,7 +111,7 @@ Textadept 10. Download: * [Textadept 10.0 -- Win32][] | [PGP -- 10.0 Win32][] -* [Textadept 10.0 -- Mac OSX Intel 10.6+][] | [PGP -- 10.0 OSX][] +* [Textadept 10.0 -- Mac OSX 10.6+][] | [PGP -- 10.0 OSX][] * [Textadept 10.0 -- Linux][] | [PGP -- 10.0 Linux][] * [Textadept 10.0 -- Linux x86_64][] | [PGP -- 10.0 Linux x86_64][] * [Textadept 10.0 -- Modules][] | [PGP -- 10.0 Modules][] @@ -136,7 +136,7 @@ Changes: [9 to 10 migration guide]: manual.html#Textadept.9.to.10 [Textadept 10.0 -- Win32]: download/textadept_10.0.win32.zip -[Textadept 10.0 -- Mac OSX Intel 10.6+]: download/textadept_10.0.osx.zip +[Textadept 10.0 -- Mac OSX 10.6+]: download/textadept_10.0.osx.zip [Textadept 10.0 -- Linux]: download/textadept_10.0.i386.tgz [Textadept 10.0 -- Linux x86_64]: download/textadept_10.0.x86_64.tgz [Textadept 10.0 -- Modules]: download/textadept_10.0.modules.zip @@ -154,7 +154,7 @@ Changes: Download: * [Textadept 10.0 beta 2 -- Win32][] | [PGP -- 10.0 beta 2 Win32][] -* [Textadept 10.0 beta 2 -- Mac OSX Intel 10.6+][] | [PGP -- 10.0 beta 2 OSX][] +* [Textadept 10.0 beta 2 -- Mac OSX 10.6+][] | [PGP -- 10.0 beta 2 OSX][] * [Textadept 10.0 beta 2 -- Linux][] | [PGP -- 10.0 beta 2 Linux][] * [Textadept 10.0 beta 2 -- Linux x86_64][] | [PGP -- 10.0 beta 2 Linux x86_64][] * [Textadept 10.0 beta 2 -- Modules][] | [PGP -- 10.0 beta 2 Modules][] @@ -175,7 +175,7 @@ Changes: * Interpret `\uXXXX` sequences in regex replacement text. [Textadept 10.0 beta 2 -- Win32]: download/textadept_10.0_beta_2.win32.zip -[Textadept 10.0 beta 2 -- Mac OSX Intel 10.6+]: download/textadept_10.0_beta_2.osx.zip +[Textadept 10.0 beta 2 -- Mac OSX 10.6+]: download/textadept_10.0_beta_2.osx.zip [Textadept 10.0 beta 2 -- Linux]: download/textadept_10.0_beta_2.i386.tgz [Textadept 10.0 beta 2 -- Linux x86_64]: download/textadept_10.0_beta_2.x86_64.tgz [Textadept 10.0 beta 2 -- Modules]: download/textadept_10.0_beta_2.modules.zip @@ -190,7 +190,7 @@ Changes: Download: * [Textadept 10.0 beta -- Win32][] | [PGP -- 10.0 beta Win32][] -* [Textadept 10.0 beta -- Mac OSX Intel 10.6+][] | [PGP -- 10.0 beta OSX][] +* [Textadept 10.0 beta -- Mac OSX 10.6+][] | [PGP -- 10.0 beta OSX][] * [Textadept 10.0 beta -- Linux][] | [PGP -- 10.0 beta Linux][] * [Textadept 10.0 beta -- Linux x86_64][] | [PGP -- 10.0 beta Linux x86_64][] * [Textadept 10.0 beta -- Modules][] | [PGP -- 10.0 beta Modules][] @@ -209,7 +209,7 @@ Changes: * Removed LuaJIT version of Textadept. [Textadept 10.0 beta -- Win32]: download/textadept_10.0_beta.win32.zip -[Textadept 10.0 beta -- Mac OSX Intel 10.6+]: download/textadept_10.0_beta.osx.zip +[Textadept 10.0 beta -- Mac OSX 10.6+]: download/textadept_10.0_beta.osx.zip [Textadept 10.0 beta -- Linux]: download/textadept_10.0_beta.i386.tgz [Textadept 10.0 beta -- Linux x86_64]: download/textadept_10.0_beta.x86_64.tgz [Textadept 10.0 beta -- Modules]: download/textadept_10.0_beta.modules.zip @@ -332,8 +332,8 @@ Bugfixes: Changes: * Textadept requires GTK 2.24 (circa early-2011) or greater. -* Pasted text is reindented by default via [`textadept.editing.paste()`][], and - is configured with [`textadept.editing.paste_reindents`][]. +* Pasted text is reindented by default via `textadept.editing.paste()`, and is + configured with `textadept.editing.paste_reindents`. * Replaced `textadept.editing.match_brace()` with a menu function, enhanced [`textadept.editing.select_enclosed()`][] behavior, and removed redundant "Select in ..." menu items. @@ -355,8 +355,6 @@ Changes: [PGP -- 10.0 alpha Linux]: download/textadept_10.0_alpha.i386.tgz.asc [PGP -- 10.0 alpha Linux x86_64]: download/textadept_10.0_alpha.x86_64.tgz.asc [PGP -- 10.0 alpha Modules]: download/textadept_10.0_alpha.modules.zip.asc -[`textadept.editing.paste()`]: api.html#textadept.editing.paste -[`textadept.editing.paste_reindents`]: api.html#textadept.editing.paste_reindents [`textadept.editing.select_enclosed()`]: api.html#textadept.editing.select_enclosed [`buffer.set_theme()`]: api.html#buffer.set_theme [`buffer.brace_match()`]: api.html#buffer.brace_match diff --git a/doc/manual.md b/doc/manual.md index 44922487..02b77e37 100644 --- a/doc/manual.md +++ b/doc/manual.md @@ -131,8 +131,7 @@ Ubuntu typically call the package "libncursesw5". ### Requirements for Mac OSX -No requirements other than Mac OSX 10.6 (Snow Leopard) or higher with an Intel -CPU. +No requirements other than Mac OSX 10.6 (Snow Leopard) or higher. ### Requirements for Windows @@ -621,19 +620,16 @@ manager may also consume `Alt+Mouse` in order to move windows. In that case, a normal text selection may be changed into a rectangular selection by tapping the `Alt` modifier key. -### Select to Matching Brace +### Select between Matching Braces and Other Entities -Placing the caret over a brace character ('(', ')', '[', ']', '{', or '}') and -pressing `Ctrl+Shift+M` (`^⇧M` on Mac OSX| `M-S-M` in curses) extends the -selection to the brace character's matching brace. +Placing the caret over a brace character ('(', ')', '[', ']', '{', or '}') or +between matching pairs and then pressing `Ctrl+Shift+M` (`^⇧M` on Mac OSX | +`M-S-M` in curses) selects all text between the pair. Repeated use of this key +binding toggles the selection of the brace characters themselves. You can also +use this feature within other entities like single and double quotes. -### Entity Selection - -Textadept allows the selection of many different entities from the caret. For -example, `Ctrl+"` (`^"` on Mac OSX | `M-"` in curses) selects all characters in -a double-quoted range. Typing it again selects the double-quotes too. The -"Edit -> Select In..." menu lists all selectable entities with their key -bindings. +The "Edit -> Select In..." menu lists other selectable entities like HTML/XML +tags. ### Marks @@ -704,7 +700,8 @@ Pressing `Esc` (`Esc` | `Esc`) hides the pane after you finish with it. By default, "Replace All" replaces all text in the buffer. Selecting a continuous block of text and then "Replace All" replaces all text in the -selection. +selection. "Replace All" within rectangular or multiple selections is currently +not supported. ### Find in Files @@ -1396,6 +1393,15 @@ follows: The standard output (stdout) of the command replaces the input text. +## Macros + +While Textadept can be completely scripted with Lua, it is sometimes desirable +to quickly record a series of edits and play them back without writing a custom +script. Pressing `F9` starts a recording session, and `Shift+F9` (`⇧F9` on Mac +OSX | `F10` in curses) stops recording. `Alt+F9` (`⌥F9` | `F12`) plays back the +most recently recorded macro. You can use the "Tools -> Macros" menu to save a +macro to a file, or load one for subsequent playback. + ## Remote Control Since Textadept executes arbitrary Lua code passed via the `-e` and `--execute` @@ -1624,15 +1630,13 @@ compile for Windows is cross-compiling from Linux. In order to do so, you need Your package manager should offer them. Note: compiling on Windows requires a C compiler that supports the C99 standard, -a C++ compiler that supports the C++11 standard, a C++ standard library that -supports C++11, the [GTK+ for Windows bundle][] version 2.24, and -[libiconv for Windows][] (the "Developer files" and "Binaries" zip files). The -terminal (pdcurses) version requires my [win32curses bundle][] instead of GTK+ -and libiconv. +a C++ compiler that supports the C++11 standard, and a C++ standard library that +supports C++11, and my [win32gtk bundle][]. The terminal (pdcurses) version +requires [libiconv for Windows][] and my [win32curses bundle][] instead of GTK+. [MinGW]: http://mingw.org [mingw-w64]: http://mingw-w64.org/ -[GTK+ for Windows bundle]: http://www.gtk.org/download/windows.php +[win32gtk bundle]: download/win32gtk-2.24.32.zip [libiconv for Windows]: http://gnuwin32.sourceforge.net/packages/libiconv.htm [win32curses bundle]: download/win32curses.zip @@ -2009,8 +2013,8 @@ word\_match(list, wchars, icase)|Changed |[word\_match][](words, icase) set\_theme |Renamed |[buffer.set\_theme()][] **textadept.editing** | | match\_brace |Replaced|N/A _(menu function)_ -N/A |Added |[paste()][] -N/A |Added |[paste\_reindents][] +N/A |Added |paste() +N/A |Added |paste\_reindents **textadept.session** | | default\_session |Removed | @@ -2024,8 +2028,6 @@ default\_session |Removed | [new()]: api.html#lexer.new [word\_match]: api.html#lexer.word_match [buffer.set\_theme()]: api.html#buffer.set_theme -[paste()]: api.html#textadept.editing.paste -[paste\_reindents]: api.html#textadept.editing.paste_reindents #### Configuration Changes -- cgit v1.2.3