aboutsummaryrefslogtreecommitdiff
path: root/src/textadept.c
AgeCommit message (Collapse)Author
2014-10-21Enable mouse clicks and movements in the terminal version.mitchell
This requires Scinterm r92 (changset 90ba2dd413c3).
2014-10-18Handle unknown CSI events and bracketed pasted in the terminal version.mitchell
For bracketed paste, turn off auto-pair and auto-indent.
2014-10-11Move the command entry into a split pane on GTK.mitchell
In the previous implementation without a split pane, the command entry could not shrink in size.
2014-10-05Replaced command entry text field with a Scintilla buffer.mitchell
`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()`.
2014-08-15Correctly recognize DEL when emitted by the Backspace key; src/textadept.cmitchell
2014-08-15Reverted separating ^H from Backspace in the terminal version.mitchell
2014-08-13Separate ^H from Backspace in the terminal version.mitchell
Also have libtermkey take care of saving and restoring termios.
2014-07-12Implement spawn functionality for terminal version.mitchell
Requires lspawn r21. Thanks to Chris Emerson for proof-of-concept code. Spawning still does not work for Win32 terminal version, though.
2014-07-09Refactored bits of the Makefile and added Scintillua et. al. versioning.mitchell
2014-06-20Added `event.FOCUS` for when Textadept's window receives focus.mitchell
2014-06-07Added parameter to `events.UPDATE_UI`.mitchell
2014-05-29Code cleanup.mitchell
2014-04-10More accurate error message; src/textadept.cmitchell
2014-03-27Added basic project support for snapopen and build scripts.mitchell
Also fixed some curses errors introduced by the last commit.
2014-03-26Include my new "lspawn" module by default for spawning processes.mitchell
The `textadept.run` module now uses `spawn()` instead of `io.popen()`. This module replaces the dependency on winapi. Removed experimental `io.popen()` and `os.execute()` hooks. They may be re-implemented later using `spawn()`.
2014-03-10Fixed Win32 terminal bug that disallowed Shifted characters; src/textadept.cmitchell
2014-02-12Added split views in the terminal version thanks to Chris Emerson.mitchell
2014-02-12C code cleanup; src/textadept.cmitchell
2014-02-10Removed unnecessary return from `main()`; src/textadept.cmitchell
2014-01-16Small C code cleanup; src/textadept.cmitchell
2014-01-12Updated copyright information.mitchell
2014-01-01Merge the separate Textadept and lexer Lua states into a single unified one.mitchell
This is an experimental change and requires the latest Scintillua changes.
2013-12-29C code cleanup; src/textadept.cmitchell
2013-12-19Added configurable tab context menus.mitchell
Deprecated `textadept.menu.set_contextmenu()` in favor of new `textadept.menu.set_contextmenus()`.
2013-12-19Export TermKey instance so CDK can use it for input.mitchell
This eliminates the problems caused by libtermkey and CDK having separate input buffers.
2013-12-15Updated to Scintilla 3.3.7.mitchell
2013-11-19Experimental winapi extension for preventing the flashing black box on Windows.mitchell
Compile in a stripped version of Steve Donovan's winapi library and override `io.popen` and `os.execute`.
2013-11-10`ui.clipboard_text` is no longer read-only.mitchell
2013-11-07Added support for tabs.mitchell
2013-10-30Fixed GTK3 bug with split views introduced in r1611; src/textadept.cmitchell
2013-10-29Fix warnings and errors when compiling for GTK3.mitchell
2013-10-18The buffer API applies to all buffers now, not just the global one.mitchell
Created a "dummy" Scintilla view for operating on non-global documents. Removed `buffer:check_global()` and replaced `buffer.dirty` with Scintilla's `buffer.modify`.
2013-09-06Fixed bug in processing command line options introduced in r1546.mitchell
2013-09-05Renamed `ui.docstatusbar_text` to `ui.bufstatusbar_text`.mitchell
2013-08-31Allow user scripts to handle `BUFFER_NEW` and `VIEW_NEW` events on startup.mitchell
A side effect is more efficient event emission during startup.
2013-08-26Renamed `gui` to `ui` since it's more applicable.mitchell
2013-08-24Include Scintilla constants in `buffer`s.mitchell
2013-07-17Fixed compile error on curses from previous commit; src/textadept.cmitchell
2013-07-16Save window maximized state in sessions.mitchell
Also ensure backward-compatibility with existing session files.
2013-07-08Ensure split view is painted by GTK before scrolling it; src/textadept.cmitchell
This prevents any disorienting scrolling.
2013-07-08Ensure split view is drawn by GTK before scrolling it; src/textadept.cmitchell
This prevents any disorienting scrolling.
2013-06-24Removed `_G.RESETTING`; test for `arg` instead.mitchell
2013-06-08No need to initialize static variables; src/textadept.cmitchell
C implicitly initializes them to NULL.
2013-06-04Fixed curses autocomplete with the "Enter" key.mitchell
This reverts "Enter" to '\r' in Lua, so make a KEYSYM to retain '\n'.
2013-05-15Rewrote theme implementation.mitchell
Themes are now just single files that share Textadept's Lua state. Also added a new "settings.lua" that functions in place of buffer and view theme files. Requires latest Scintillua.
2013-05-21Use '\n' keycode in curses instead of '\r'; src/textadept.cmitchell
Win32-curses still uses '\r' since pdcurses reports it.
2013-05-16Reverted r1412 to allow hiding command entry on focus lost; src/textadept.cmitchell
If command_entry_completion handles keys first, pressing "Tab" after showing completions switches focus to Scintilla without propagating the key. If command_entry handles keys first, pressing "Enter" in the completion list will be incorrectly interpreted as a normal "Enter" press. Reverted to using the "activate" signal to interpret "Enter" so command_entry can handle keys first, keeping "Tab" from switching focus.
2013-05-15Fixed GTK assertion errors when removing find history items; src/textadept.cmitchell
2013-04-24Do not emit keys while the command entry completion is active; src/textadept.cmitchell
The GtkEntryCompletion's key handler should take precedence over GtkEntry's.
2013-04-24Renamed `_G.buffer_new()` to `buffer.new()`.mitchell