mitchell / Textadept (http://caladbolg.net/textadept)
Textadept is a fast, minimalist, and ridiculously extensible text editor for Linux, Mac OSX, and Windows. The C++ core will always be less than 2000 lines of code (excluding comments and blank lines) and contains the bare framework for a text editor. More than half of the C++ base is the Lua extension, and nearly everything in Textadept is controlled by Lua, making the editor's extensibility almost limitless.
Clone this repository (size: 1.1 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/mitchell/textadept/
| commit 476: | cd3c437d612c |
| parent 475: | fa7bf1e86741 |
| branch: | default |
Don't clear cmdline files when loading pm session; modules/textadept/session.lua
Changed (Δ31 bytes):
raw changeset »
modules/textadept/session.lua (3 lines added, 1 lines removed)
Up to file-list modules/textadept/session.lua:
| … | … | @@ -28,7 +28,9 @@ DEFAULT_SESSION = _USERHOME..'/session' |
28 |
28 |
-- @usage _m.textadept.session.load(filename) |
29 |
29 |
function load(filename, only_pm) |
30 |
30 |
local f = io.open(filename or DEFAULT_SESSION, 'rb') |
31 |
if not |
|
31 |
if not only_pm and not f then |
|
32 |
if not textadept.io.close_all() then return false end |
|
33 |
end |
|
32 |
34 |
local current_view, splits = 1, { [0] = {} } |
33 |
35 |
for line in f:lines() do |
34 |
36 |
if not only_pm then |
