aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/textadept.c
Commit message (Collapse)AuthorAge
* Support software flow controlHEADdefaultGravatar Benjamin Barenblat2022-03-23
| | | | | | | | | | Add a new `-p` / `--preserve` flag to textadept-curses. When specified, don’t grab the XON and XOFF control characters from the TTY driver. This allows textadept-curses to run effectively on serial terminals that use XON/XOFF flow control. The `-p` flag was chosen to align with nano, where it has the same behavior.
* Small code cleanup.Gravatar mitchell2022-03-19
|
* Minor refactoring and code cleanup.Gravatar mitchell2022-03-19
| | | | Use table library for removing buffers and views from their respective registry tables, use
* Added `move_buffer()` function and made tabs rearrangeable via drag and drop.Gravatar mitchell2022-03-18
|
* Use WinApi instead of GLib/GTK to read from single-instance pipe.Gravatar mitchell2022-02-28
| | | | For some reason, GTK 3 and its GLib cannot read from the pipe.
* Fixed `ui.update()` on macOS when monitoring output of spawned processes.Gravatar mitchell2022-02-23
| | | | Also removed unnecessary #if tests.
* Updated to Scintilla 5.2.0.Gravatar mitchell2022-02-15
|
* Updated copyright year.Gravatar mitchell2022-01-31
|
* Fixed menubar reset crash on macOS.Gravatar mitchell2022-01-12
| | | | Temporary workaround is to prevent changing the menubar after it is set.
* Reverted forward-looking change.Gravatar mitchell2021-12-02
| | | | This change should be the next version of Scintilla after 5.1.4.
* Updated to Scintilla 5.1.4.Gravatar mitchell2021-11-29
|
* Ensure the terminal cursor is visible for Find and Replace.Gravatar mitchell2021-10-20
| | | | The latest Scinterm hg hides the cursor when the Scintilla caret is out of view.
* Attempt to work around autocompletion list not hiding when command entry ↵Gravatar mitchell2021-07-27
| | | | | | hides on Windows. Ideally Scintilla would handle this properly, as this issue was introduced in a recent 5.x release.
* Updated to Scintilla 5.0.3.Gravatar mitchell2021-05-29
| | | | Updated themes to use new `view.element_color` and treat all colors as opaque if no alpha was given.
* Reverted printing initialization errors to stderr.Gravatar mitchell2021-05-01
|
* Do not clobber user's terminal on initialization error.Gravatar mitchell2021-05-01
| | | | Also fix memory leak.
* Print initialization errors to stderr in addition to showing dialog.Gravatar mitchell2021-05-01
| | | | This can be helpful when running in a headless test environment.
* Added ability to specify find & replace pane entry font via ↵Gravatar mitchell2021-04-16
| | | | | | `ui.find.entry_font`. Also use type checks when setting find & replace text and labels.
* Updated to Scintilla 5.0.1 and latest Scintillua and Scinterm.Gravatar mitchell2021-04-13
| | | | Some of the Scintilla API has changed, and by extension the Scintillua API.
* Initial pass reformatting all code.Gravatar mitchell2021-04-11
| | | | Use clang-format, LuaFormatter, and 100 character limit on lines.
* Take advantage of Scinterm being able to use a native terminal caret.Gravatar mitchell2021-02-13
| | | | | | | Also change brace highlight style to not change the background color, as some terminal cursors invert the current cell, so this would cause the highlighted brace at the current position to "unhighlight", causing confusion. This requires latest Scinterm.
* Fixed curses compile error introduced in previous commit.Gravatar mitchell2021-02-09
|
* Added `ui.SHOW_ALL_TABS` option for `ui.tabs`.Gravatar mitchell2021-02-09
| | | | | | Textadept hides the first tab by default since its information is duplicated in the titlebar and screen space is wasted. However, some users choose to hide titlebars (e.g. on window maximize/fullscreen), so this option now exists.
* Expose "lines_added" field for SCN_MODIFIED notifications.Gravatar mitchell2021-02-08
| | | | Note that connecting to `events.MODIFIED` is still intentionally undocumented.
* Updated copyright information.Gravatar mitchell2021-01-29
|
* Added `events.UNFOCUS` for when Textadept loses focus.Gravatar mitchell2020-11-16
| | | | Do not emit this event when a dialog is active.
* Code cleanup.Gravatar mitchell2020-11-16
|
* Keep focus on find & replace pane as necessary when refocusing window.Gravatar mitchell2020-11-16
|
* Ensure command entry is defocused properly in the terminal version.Gravatar mitchell2020-10-20
| | | | Otherwise, autocompletion lists may not be canceled.
* Moved `ui.command_entry.active` into C.Gravatar mitchell2020-10-13
| | | | It's more reliable and is similar to `ui.find.active`.
* Collect garbage on reset.Gravatar mitchell2020-10-04
| | | | | External modules that have finalizers (__gc metamethod) need to be run now, or else segfaults can occur when running the gc later with stale data.
* Updated copyright information.Gravatar mitchell2020-09-29
|
* Added `events.COMMAND_TEXT_CHANGED`.Gravatar mitchell2020-09-19
| | | | This is analagous to `events.FIND_TEXT_CHANGED`.
* Added `ui.update()` for unit tests.Gravatar mitchell2020-09-19
|
* Switch back to Scintilla default (4.x), Scinterm, and Scintillua.Gravatar mitchell2020-09-13
| | | | | Scintilla LongTerm3 maintenance is ending with upcoming Scintilla 5. Textadept now requires a C++17 compiler. Also updated Docker image.
* Handle initial queries of `ui.find.find_text` and `repl_text` in curses.Gravatar mitchell2020-09-07
|
* Fixed emission of `events.UPDATE_UI` when resuming from suspend.Gravatar mitchell2020-09-07
|
* Added `ui.find.active` and prevent word highlighting when searching.Gravatar mitchell2020-09-07
| | | | Word auto-highlighting when searching is too distracting.
* Fixed crashes introduced by r2915.Gravatar mitchell2020-08-22
|
* Only switch buffers during `buffer:delete()` if necessary.Gravatar mitchell2020-08-22
| | | | This is not necessary if deleting a non-visible buffer (e.g. in the dummy view).
* Fixed keypress handler regression when compiling with modern MinGW-w64.Gravatar mitchell2020-08-20
| | | | | | | For some reason, modern MinGW-w64 GCC always returns boolean true unless compiling with debug symbols. Most typing into Scintilla widgets was not working at all. This does not occur on older versions of MinGW GCC.
* Updated some documentation and use macOS instead of Mac OSX.Gravatar mitchell2020-08-17
|
* Fixed regression involving SCNotifications and text.Gravatar mitchell2020-08-09
| | | | This affects SCN_URIDROPPED among others.
* Updated find & replace pane key bindings.Gravatar mitchell2020-08-08
| | | | | | In the GUI, Enter and Shift+Enter invoke Find Next and Find Prev, respectively. In the terminal, Up, Down, and Tab toggle between buttons more consistently; removed Shift-Tab binding. Also fixed entry drawing issue with Tab.
* Once again removed accidencally committed changes.Gravatar mitchell2020-07-29
|
* Updated for 11.0 alpha 3.Gravatar mitchell2020-07-28
|
* Small code cleanup.Gravatar mitchell2020-07-27
|
* Use monospaced font in the Find & Replace Pane entries.Gravatar mitchell2020-07-26
|
* Find & Replace Pane now allows file filters to be specified for Find in Files.Gravatar mitchell2020-07-25
| | | | | Also updated `ui.find.focus()` to accept an optional table of options (e.g. in_files, incremental, etc.) for convenience.
* Fixed initial setting of `ui.find.replace_entry_text` in the GUI.Gravatar mitchell2020-07-25
| | | | | | GtkEntries are initialized with the same initial text pointer, which makes it impossible to initially differentiate between `find_text` and `repl_text` by their text pointers alone.