aboutsummaryrefslogtreecommitdiff
path: root/src/textadept.c
AgeCommit message (Collapse)Author
2018-03-17Fixed initialization errors not showing in the terminal version.mitchell
A blank screen was shown instead.
2018-03-12Start using Scintilla's LongTerm3, which now includes Scintillua and Scinterm.mitchell
Since LongTerm3 requires a C++11 compiler, GCC 4.9+ is required. Since C++11 includes regex capability, drop TRE dependency.
2018-02-25Attempt to fix some compiler warnings and errors recently introduced.mitchell
2018-02-24Define header flags in source code rather than in Makefile.mitchell
Requires lspawn r60 (changeset 9a8b4b5e4137) and gtdialog r112 (changeset 6435a42450c7).
2018-02-24Provide minimal support for GTK 3 and ignore deprecations.mitchell
Textadept will never be targeted at GTK 3 or higher.
2018-02-21The terminal version can immediately focus a clicked view.mitchell
This allows for immediate scrolling, selections, etc. in non-focused views. This behavior mimics the GUI version.
2018-01-31Fixed busy wait in second instance of Textadept on Windows.mitchell
Other instances should not attempt to become the single instance by waiting on a named pipe to be created, as it already exists.
2018-01-25Updated copyright year.mitchell
2017-11-18Fixed non-global buffer operations whose doc pointers are outside int range.mitchell
Since doc pointers are signed, a greater than zero test is not always correct.
2017-11-12Buffer settings on startup apply to subsequent buffers.mitchell
As a result, no need for a *properties.lua* file anymore. Also, renamed `ui.set_theme()` to `buffer.set_theme()`.
2017-07-25Properly handle `buffer.margin_left` and `buffer.margin_right`.mitchell
Scintilla's iface for them is different than similar properties.
2017-03-23No need to reassign reopened stderr; src/textadept.cmitchell
2016-12-31Updated copyright information.mitchell
2016-12-05Updated to Scintilla 3.7.1.mitchell
2016-10-01Fixed regression in r2249 with composed keys; src/textadept.cmitchell
Alt- composed keys were getting translated to their group 0 values.
2016-09-12Better handling of key bindings on international keyboards.mitchell
Try to ensure the default bindings work on international keyboards (e.g. `Ctrl+я` should be `Ctrl+Z` on a Russian keyboard). Thanks to Heck Fy.
2016-08-11Fixed caps lock key handling.mitchell
2016-07-24Added `events.TAB_CLICKED` event.mitchell
This allows for the user to override the default switch behavior (e.g. switch to an existing split view that already has the target buffer open). Thanks to Gabriel Dubatti.
2016-07-04Replaced Lua pattern matching with Regex via Scintilla and TRE.mitchell
As a result, changed `ui.find.lua` to `ui.find.regex` Also removed luautf8 dependency since it is no longer needed. Regex replacements cannot contain embedded Lua code. Jumping to "find in files" results selects those results instead of just jumping to their respective lines.
2016-07-01Fixed compile error introduced in the terminal version; src/textadept.cmitchell
2016-06-25Combined view metamethods into one and cleaned up some code and comments.mitchell
Also added placeholder code for emulating view-specific properties.
2016-06-16Changed arguments to `ui.goto_view()` and `view:goto_buffer()`.mitchell
They can accept either objects or relative numbers now. They do not accept absolute indices anymore.
2016-04-09More efficient window refreshing in the terminal version; src/textadept.cmitchell
Requires Scinterm r150 (changeset ca37264a865c).
2016-04-05Improved efficiency of word autocompletion from all buffers.mitchell
Also fixed a bug that reset some non-focused buffer properties.
2016-03-26Support UTF-8 Lua pattern matching.mitchell
Makes use of an external luautf8 library, but only a subset of it.
2016-03-22Only show the menubar if there are menus; src/textadept.cmitchell
2016-02-17Fixed potential buffer overflow; src/textadept.cmitchell
Thanks to Markus F.X.J. Oberhumer.
2016-02-03Ensure Win32 single instance thread is terminated on exit; src/textadept.cmitchell
2016-01-30Replaced `buffer:text_range()` C function with a Lua function.mitchell
2016-01-30Added single-instance functionality for Win32 and require GLib 2.28+.mitchell
Thanks to Carl Sturtivant for the Win32 proof-of-concept code.
2016-01-30Code cleanup; src/textadept.cmitchell
2016-01-29Fixed focus bug in `view:goto_buffer()` with non-focused view; src/textadept.cmitchell
2016-01-29`buffer:clear_cmd_key()` should only take one argument.mitchell
The `bit32` library makes bit shifting easier.
2015-12-31Updated copyright date.mitchell
2015-09-15Updated to Scintilla 3.6.1.mitchell
2015-08-11Fixed segfault when quitting while the command entry is open; src/textadept.cmitchell
2015-08-02Updated to Scintilla 3.6.0.mitchell
2015-06-01Removed unnecessary casts; src/textadept.cmitchell
2015-04-15Allow undocumented `events.MODIFIED` to emit position and length.mitchell
2015-03-12Emit `BUFFER_AFTER_SWITCH` event before `BUFFER_DELETED`; src/textadept.cmitchell
This fixes a view-specific property bug.
2015-03-11Updated to Lua 5.3, LPeg 0.12.2, and lfs 1.6.3.mitchell
LuaJIT uses Lua 5.3's new utf8 library. Restored documentation for Lua 5.1 symbols and added deprecation notes.
2015-03-09Fixed accidental firing of "Escape" key on window focus lost; src/textadept.cmitchell
2015-01-22Made `args.process()` private.mitchell
2015-01-20Fixed bug in preventing standard focus out events to be fired; src/textadept.cmitchell
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.
2015-01-20Code cleanup; src/textadept.cmitchell
2015-01-20Fixed horizontal expand flag for Find & Replace widgets in GTK3; src/textadept.cmitchell
2015-01-15Added events for terminal suspend and resume.mitchell
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.
2015-01-12Emit an `events.FOCUS` event after resuming from a suspended state.mitchell
2015-01-12Fixed bug in reporting split views in GTK3; src/textadept.cmitchell
2014-12-31Updated copyright year.mitchell