aboutsummaryrefslogtreecommitdiff
path: root/src/textadept.c
AgeCommit message (Collapse)Author
2014-12-17Fixed curses bug with toggling find options via API; src/textadept.cmitchell
2014-11-29Fixed command entry reset bug for real instead of in r1861.mitchell
2014-11-26Integrated Chris Emerson's curses split view window manager.mitchell
2014-11-26Allow connection to `events.QUIT` without requiring index of 1.mitchell
2014-11-24Keep command entry focus when window loses focus; src/textadept.cmitchell
2014-11-23Patch CDK for basic UTF-8 support.mitchell
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.
2014-11-18Use labels in the statusbar instead of statusbar widgets; src/textadept.cmitchell
This allows the docstatusbar to resize and align right.
2014-11-15Fixed command entry reset bug now that the entry is a Scintilla buffer.mitchell
2014-10-30Added `LINUX` and `BSD` platform flags for the sake of completeness.mitchell
Previously, Linux was inferred from the expression `not WIN32 and not OSX`.
2014-10-29Fixed compiler warnings.mitchell
2014-10-25Improvements to terminal mouse handling.mitchell
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.
2014-10-24Fixed bug in `lL_event()` for LUA_TNUMBER type size mismatches; src/textadept.cmitchell
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).
2014-10-22Enable terminal mouse clicks and movements in Windows; src/textadept.cmitchell
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