aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/textadept.c
Commit message (Collapse)AuthorAge
* Changed arguments to `ui.goto_view()` and `view:goto_buffer()`.Gravatar mitchell2016-06-16
| | | | | They can accept either objects or relative numbers now. They do not accept absolute indices anymore.
* More efficient window refreshing in the terminal version; src/textadept.cGravatar mitchell2016-04-09
| | | | Requires Scinterm r150 (changeset ca37264a865c).
* Improved efficiency of word autocompletion from all buffers.Gravatar mitchell2016-04-05
| | | | Also fixed a bug that reset some non-focused buffer properties.
* Support UTF-8 Lua pattern matching.Gravatar mitchell2016-03-26
| | | | Makes use of an external luautf8 library, but only a subset of it.
* Only show the menubar if there are menus; src/textadept.cGravatar mitchell2016-03-22
|
* Fixed potential buffer overflow; src/textadept.cGravatar mitchell2016-02-17
| | | | Thanks to Markus F.X.J. Oberhumer.
* Ensure Win32 single instance thread is terminated on exit; src/textadept.cGravatar mitchell2016-02-03
|
* Replaced `buffer:text_range()` C function with a Lua function.Gravatar mitchell2016-01-30
|
* Added single-instance functionality for Win32 and require GLib 2.28+.Gravatar mitchell2016-01-30
| | | | Thanks to Carl Sturtivant for the Win32 proof-of-concept code.
* Code cleanup; src/textadept.cGravatar mitchell2016-01-30
|
* Fixed focus bug in `view:goto_buffer()` with non-focused view; src/textadept.cGravatar mitchell2016-01-29
|
* `buffer:clear_cmd_key()` should only take one argument.Gravatar mitchell2016-01-29
| | | | The `bit32` library makes bit shifting easier.
* Updated copyright date.Gravatar mitchell2015-12-31
|
* Updated to Scintilla 3.6.1.Gravatar mitchell2015-09-15
|
* Fixed segfault when quitting while the command entry is open; src/textadept.cGravatar mitchell2015-08-11
|
* Updated to Scintilla 3.6.0.Gravatar mitchell2015-08-02
|
* Removed unnecessary casts; src/textadept.cGravatar mitchell2015-06-01
|
* Allow undocumented `events.MODIFIED` to emit position and length.Gravatar mitchell2015-04-15
|
* Emit `BUFFER_AFTER_SWITCH` event before `BUFFER_DELETED`; src/textadept.cGravatar mitchell2015-03-12
| | | | This fixes a view-specific property bug.
* Updated to Lua 5.3, LPeg 0.12.2, and lfs 1.6.3.Gravatar mitchell2015-03-11
| | | | | LuaJIT uses Lua 5.3's new utf8 library. Restored documentation for Lua 5.1 symbols and added deprecation notes.
* Fixed accidental firing of "Escape" key on window focus lost; src/textadept.cGravatar mitchell2015-03-09
|
* Made `args.process()` private.Gravatar mitchell2015-01-22
|
* Fixed bug in preventing standard focus out events to be fired; src/textadept.cGravatar mitchell2015-01-20
| | | | | | It is desirable to keep the command entry visible if the window is losing focus. Otherwise, allow normal focus out events to be fired, including Scintilla's defaults that hide the cursor, etc.
* Code cleanup; src/textadept.cGravatar mitchell2015-01-20
|
* Fixed horizontal expand flag for Find & Replace widgets in GTK3; src/textadept.cGravatar mitchell2015-01-20
|
* Added events for terminal suspend and resume.Gravatar mitchell2015-01-15
| | | | | | Suspend can be prevented by an error handler, described in a new FAQ entry. New `events.RESUME` replaces `events.FOCUS` for the terminal version. Utilize these events to disable/enable bracketed paste and mouse modes.
* Emit an `events.FOCUS` event after resuming from a suspended state.Gravatar mitchell2015-01-12
|
* Fixed bug in reporting split views in GTK3; src/textadept.cGravatar mitchell2015-01-12
|
* Updated copyright year.Gravatar mitchell2014-12-31
|
* Enable suspend in the terminal version.Gravatar mitchell2014-12-23
| | | | | Patch libtermkey to allow this and also to support mouse enabling/disabling. Needed to change ^Z undo to M-Z and added M-S-Z as extra redo.
* Fixed curses bug with toggling find options via API; src/textadept.cGravatar mitchell2014-12-17
|
* Fixed command entry reset bug for real instead of in r1861.Gravatar mitchell2014-11-29
|
* Integrated Chris Emerson's curses split view window manager.Gravatar mitchell2014-11-26
|
* Allow connection to `events.QUIT` without requiring index of 1.Gravatar mitchell2014-11-26
|
* Keep command entry focus when window loses focus; src/textadept.cGravatar mitchell2014-11-24
|
* Patch CDK for basic UTF-8 support.Gravatar mitchell2014-11-23
| | | | | | | The find & replace pane and UI dialogs can now handle UTF-8 characters. The support is functional, but not perfect. Since the patch only targets the widgets Textadept uses, it cannot be submitted to upstream CDK for inclusion. It's kind of a hack anyway.
* Use labels in the statusbar instead of statusbar widgets; src/textadept.cGravatar mitchell2014-11-18
| | | | This allows the docstatusbar to resize and align right.
* Fixed command entry reset bug now that the entry is a Scintilla buffer.Gravatar mitchell2014-11-15
|
* Added `LINUX` and `BSD` platform flags for the sake of completeness.Gravatar mitchell2014-10-30
| | | | Previously, Linux was inferred from the expression `not WIN32 and not OSX`.
* Fixed compiler warnings.Gravatar mitchell2014-10-29
|
* Improvements to terminal mouse handling.Gravatar mitchell2014-10-25
| | | | | | | | | | | | Emit events for unhandled mouse events and connect to such events in order to focus and resize views. Patch libtermkey with new Win32 PDCurses driver for unified key/mouse input. Update CDK patch to always use libtermkey and to ignore mouse events. Requires Scinterm r97 (changeset 8d1a625c9b4d). Thanks to Chris Emerson for proof of concept code that handles mouse events and for the code that focuses and resizes views.
* Fixed bug in `lL_event()` for LUA_TNUMBER type size mismatches; src/textadept.cGravatar mitchell2014-10-24
| | | | | | | The type extracted for LUA_TNUMBER was `sptr_t` (long), however most of the time, `int` is used. Since `sizeof(long) > sizeof(int)`, `lL_event()` sometimes pushed extra bytes in memory around the original integer passed (at least I think this explains the behavior I observed).
* Enable terminal mouse clicks and movements in Windows; src/textadept.cGravatar mitchell2014-10-22
|
* Enable mouse clicks and movements in the terminal version.Gravatar mitchell2014-10-21
| | | | This requires Scinterm r92 (changset 90ba2dd413c3).
* Handle unknown CSI events and bracketed pasted in the terminal version.Gravatar mitchell2014-10-18
| | | | For bracketed paste, turn off auto-pair and auto-indent.
* Move the command entry into a split pane on GTK.Gravatar mitchell2014-10-11
| | | | | In the previous implementation without a split pane, the command entry could not shrink in size.
* Replaced command entry text field with a Scintilla buffer.Gravatar mitchell2014-10-05
| | | | | | | | | `ui.command_entry` now has the same functions and fields as `buffer`s as well as an additional `height` property. Note that when the command entry is active, `_G.buffer` is unchanged, so many existing key commands cannot be bound to command entry key modes. See `keys.lua_command` in *modules/textadept/command_entry.lua* for the proper way to bind them. Removed `ui.command_entry.entry_text` and `ui.command_entry.show_completions()`.
* Correctly recognize DEL when emitted by the Backspace key; src/textadept.cGravatar mitchell2014-08-15
|
* Reverted separating ^H from Backspace in the terminal version.Gravatar mitchell2014-08-15
|
* Separate ^H from Backspace in the terminal version.Gravatar mitchell2014-08-13
| | | | Also have libtermkey take care of saving and restoring termios.