aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/textadept.c
Commit message (Collapse)AuthorAge
...
* Fixed bug in incremental find in the terminal version.Gravatar mitchell2020-07-25
| | | | Also fixed a bug in setting `ui.find.replace_entry_text`.
* More code cleanup.Gravatar mitchell2020-07-25
| | | | Use C99's stdbool.h.
* Moved incremental find into Find & Replace Pane.Gravatar mitchell2020-07-25
| | | | | | Added new `events.FIND_TEXT_CHANGED` to help facilitate this. "Whole word" and "Regex" are now supported in addition to "Match case". Also updated tests.
* Code cleanup.Gravatar mitchell2020-07-24
|
* Reverted accidental commit of experimental changes.Gravatar mitchell2020-07-08
|
* Added `lexer.colors` and `lexer.styles` and updated themes to utilize them.Gravatar mitchell2020-07-07
| | | | | | | This allows for a more Lua table-oriented approach to defining and using colors and styles, instead of manually manipulating Scintilla property strings. Themes are still backwards compatible, as the underlying mechanisms are still in place.
* Renamed `ui.bufstatusbar_text` to `ui.buffer_statusbar_text`.Gravatar mitchell2020-06-28
|
* Fixed toggling of Find & Replace pane visibility with `ui.find.focus()`.Gravatar mitchell2020-06-11
|
* Updated to latest Scintilla with ability to get style number from name.Gravatar mitchell2020-05-26
|
* Allow views to be used as buffers and update API.Gravatar mitchell2020-05-25
| | | | | | | This allows for a superficial separation of buffer- and view-specific Scintilla functionality. buffers and views can now be used interchangeably for the most part, and the APIs are guidance, not hard requirements. User scripts do not require any modification and will continue to function normally.
* Fixed Win32 curses issues.Gravatar mitchell2020-03-30
|
* Removed accidentally committed experimental function.Gravatar mitchell2020-03-26
|
* Fixed GUI find history.Gravatar mitchell2020-03-26
| | | | The wrong end of the history was being overwritten.
* Switched to 1-based indices for buffer positions, lines, and countable entities.Gravatar mitchell2020-03-26
|
* Refactored buffer and view metamethods by splitting them up.Gravatar mitchell2020-03-25
| | | | Grouping them saves a few lines of code, but it's not very maintainable.
* Renamed callback function.Gravatar mitchell2020-03-23
|
* Added unit tests for core code in textadept.c.Gravatar mitchell2020-03-23
| | | | | Most of the core is exercised by the Lua test suite, but coverage lapses can be uncovered using the GCC compiler flags "-fprofile-arcs -ftest-coverage"..
* Utilize userdata parameter in signal callback functions.Gravatar mitchell2020-03-22
| | | | | Ideally, callbacks would not utilize global variables at all. However, passing around just the Lua state seems a bit odd.
* More code cleanup, reformatting, refactoring, and bug fixing.Gravatar mitchell2020-03-22
|
* Fixed tab label display on Windows.Gravatar mitchell2020-03-19
|
* Store GTK find/replace history in reverse order.Gravatar mitchell2020-03-19
| | | | This allows for traditional command line history navigation using arrow keys.
* Added `ui.dialogs.progressbar()` and utilize it with Find in Files.Gravatar mitchell2020-03-18
|
* Support SCI_PRIVATELEXERCALL with SCI_LOADLEXERLIBRARY.Gravatar mitchell2020-03-08
| | | | This change should have been committed with r2697 (changeset 40a1cf1c4fd0).
* Added `_SCINTILLA.events` and use it for SCNotifications.Gravatar mitchell2020-02-24
|
* Fixed some Windows terminal version issues and updated to PDCurses 3.9.Gravatar mitchell2020-01-16
| | | | | | `io.popen()` and `os.execute()` change the console mode such that mouse clicks are no longer detected. Make sure it's reset. Also prevent `os.execute()` output from overwriting the window.
* Updated copyright year.Gravatar mitchell2019-12-31
|
* Make new arguments to `events.TAB_CLICKED` backwards-compatible.Gravatar mitchell2019-11-13
|
* Changed `events.TAB_CLICKED` to emit button clicked as well as modifier keys.Gravatar mitchell2019-11-07
| | | | This allows users to close buffers on middle-click for example.
* Ensure `events.BUFFER_BEFORE_SWITCH` is emitted properly during `buffer.new()`.Gravatar mitchell2019-10-06
| | | | | It appears that calling SCI_CREATEDOCUMENT alters view state immediately such that at least fold state is no longer available to store.
* Fail more gracefully when attempting to create buffers on init.Gravatar mitchell2019-07-30
|
* Updated to latest Scintilla LongTerm3 revision.Gravatar mitchell2019-07-11
| | | | | Scintilla.iface has changed, as has some of its underlying platform API. Testing sooner is better than later.
* Updated default main window size and some default dialog sizes.Gravatar mitchell2019-05-03
| | | | 1080p (full HD) screens seem to be the norm now.
* Do not emit an `events.SAVE_POINT_LEFT` event for unfocused views.Gravatar mitchell2019-04-18
| | | | | | | Forcing a switch to and from the source buffer's view triggers "switch" view events, which can cause trouble. There's no need to know this in real-time and `buffer.modified` can be checked in an `events.BUFFER_AFTER_SWITCH` or `events.VIEW_AFTER_SWITCH` handler.
* Updated copyright year.Gravatar mitchell2019-02-16
|
* Fix potential crashes in `string.iconv()` with tiny strings.Gravatar mitchell2018-10-31
|
* Attempt to fix key handling on international keyboards.Gravatar mitchell2018-10-16
| | | | | | Updating to GTK 2.24.32 on Windows seems to have removed the need to translate keys. It is possible that some international layouts do not need it, but some do.
* Experimentally move external lspawn module into Lua os module as a patch.Gravatar mitchell2018-10-14
|
* Added ability to save/restore persistent data during reset.Gravatar mitchell2018-09-10
|
* Refer to Lua's 'package.loaded' table name by constant, not literal.Gravatar mitchell2018-05-27
|
* Removed LuaJIT version of Textadept.Gravatar mitchell2018-04-25
| | | | Also updated to Lua 5.3 syntax where held back by LuaJIT's 5.1/5.2 syntax.
* Updated Scintilla LongTerm3 branch reference to include many backports from 4.x.Gravatar mitchell2018-03-21
|
* Fixed initialization errors not showing in the terminal version.Gravatar mitchell2018-03-17
| | | | A blank screen was shown instead.
* Start using Scintilla's LongTerm3, which now includes Scintillua and Scinterm.Gravatar mitchell2018-03-12
| | | | | Since LongTerm3 requires a C++11 compiler, GCC 4.9+ is required. Since C++11 includes regex capability, drop TRE dependency.
* Attempt to fix some compiler warnings and errors recently introduced.Gravatar mitchell2018-02-25
|
* Define header flags in source code rather than in Makefile.Gravatar mitchell2018-02-24
| | | | | Requires lspawn r60 (changeset 9a8b4b5e4137) and gtdialog r112 (changeset 6435a42450c7).
* Provide minimal support for GTK 3 and ignore deprecations.Gravatar mitchell2018-02-24
| | | | Textadept will never be targeted at GTK 3 or higher.
* The terminal version can immediately focus a clicked view.Gravatar mitchell2018-02-21
| | | | | This allows for immediate scrolling, selections, etc. in non-focused views. This behavior mimics the GUI version.
* Fixed busy wait in second instance of Textadept on Windows.Gravatar mitchell2018-01-31
| | | | | Other instances should not attempt to become the single instance by waiting on a named pipe to be created, as it already exists.
* Updated copyright year.Gravatar mitchell2018-01-25
|
* Fixed non-global buffer operations whose doc pointers are outside int range.Gravatar mitchell2017-11-18
| | | | Since doc pointers are signed, a greater than zero test is not always correct.