aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/bookmarks.lua
AgeCommit message (Collapse)Author
2020-10-20Code cleanup.mitchell
Of note: * io.save_all_files() does not visit each buffer to save anymore. An unintended side-effect was checking for outside modification (but only if the file itself was modified), so outside changes will always be saved over now. * The menu clicked handler uses assert_type(), so the 'Unknown command' localization is no longer needed. * When printing to a new buffer type would split the view, use an existing split view when possible. * Prefer 'goto continue' construct in loops over nested 'if's. * Fixed clearing of ui.find.replace_entry_text on reset in the GUI version. * Fixed lack of statusbar updating when setting options like buffer EOL mode, indentation, and encoding. * Renamed internal new_snippet() to new() and put it in the snippet metatable.
2020-10-08Fixed bug listing bookmarks for all open buffers.mitchell
2020-09-29Updated copyright information.mitchell
2020-09-19Added `events.FILE_{BEFORE,AFTER}_RELOAD` and save/restore bookmarks.mitchell
Also moved buffer state save/restore into ui module.
2020-03-26Switched to 1-based indices for buffer positions, lines, and countable entities.mitchell
2020-03-10`textadept.bookmarks.toggle()` only toggles on the current line now.mitchell
It's simple enough for scripts to call `buffer:marker_add()` as needed.
2020-03-03Added test suite and API type checking for more helpful error messages.mitchell
2019-12-31Updated copyright year.mitchell
2019-02-16Updated copyright year.mitchell
2018-04-25Removed LuaJIT version of Textadept.mitchell
Also updated to Lua 5.3 syntax where held back by LuaJIT's 5.1/5.2 syntax.
2018-01-25Updated copyright year.mitchell
2016-12-31Updated copyright information.mitchell
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-06-15`textadept.editing.goto_line()` takes 0-based line number.mitchell
It used to take a 1-based line number. Mimic Scintilla.
2016-04-05Only convert filenames from `_CHARSET` to UTF-8, not UTF-8-encoded buffer names.mitchell
2016-04-02Code cleanup.mitchell
Do not use `ipairs()` and use more consistent variable names among other things.
2015-12-31Updated copyright date.mitchell
2015-03-26"Goto Bookmark" shows marks from all buffers; modules/textadept/bookmarks.luamitchell
2015-03-17Allow bookmarks to be toggled on specific lines; modules/textadept/bookmarks.luamitchell
Thanks to Lance Larsen.
2015-03-12Lua code cleanup.mitchell
2014-12-31Updated copyright year.mitchell
2014-01-12Updated copyright information.mitchell
2013-09-29Added new `ui.dialogs` module for more user-friendly dialog support.mitchell
As a result, removed `ui.filteredlist()` and changed `io.open_file()` and `io.snapopen()` APIs to accept tables of files and paths instead of "\n" delimited strings.
2013-09-23Code and documentation cleanup.mitchell
2013-09-16Moved custom markers and indicators into themes and added more properties.mitchell
2013-09-08Expose marker and indicator numbers for greater customization.mitchell
Removed their respective color settings.
2013-09-06Updated LuaDoc.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 `_M.textadept` to `textadept`; `_M` is for language modules only now.mitchell
2013-08-26Renamed `gui` to `ui` since it's more applicable.mitchell
2013-08-24Include Scintilla constants in `buffer`s.mitchell
2013-06-24Consolidated bookmarks module's "goto" functions into a new `goto_mark()`.mitchell
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-04-29More code cleanup.mitchell
"local buffer = buffer" and similar optimizations are not needed since lexing the buffer is much more expensive and reaction time is limited by how fast the keyboard can submit key presses.
2013-04-03Textadept should support multiple curses platforms; remove ncurses references.mitchell
Requires Scintilla r4436 and Scinterm r45.
2013-01-20Updated copyright date.mitchell
2012-11-19Rewrote LuaDoc.mitchell
2012-10-29Updated documentation formatting.mitchell
Pathnames and filenames are italic and be more consistent with constant width text.
2012-09-28Use the bit32 library for checking marker bits; modules/textadept/bookmarks.luamitchell
2012-09-12Documentation overhaul.mitchell
Rewrote most of the manual and Lua API to complement each other. Key bindings reference moved from Appendix to modules/textadept/keys.lua LuaDoc.
2012-08-16Lua code cleanup; modules/textadept/bookmarks.luamitchell
2012-08-16Consolidated bookmark add/remove into `toggle`; modules/textadept/bookmarks.luamitchell
2012-07-21Converted some `buffer` "get" and "set" functions into properties.mitchell
Also updated to Scintilla 3.2.1.
2012-07-16Support bookmarks in ncurses; modules/textadept/bookmarks.luamitchell
2012-03-16Moved "Markdown:" comments into module LuaDoc comments.mitchell
2012-03-07Updated contact email address.mitchell
2012-02-10Update LuaDoc with new formatting.mitchell
2012-01-06Updated copyright information.mitchell
2012-01-05Rename '_m' to '_M'.mitchell
2011-12-31Changed 'locale.localize()' to global '_L' table.mitchell