aboutsummaryrefslogtreecommitdiff
path: root/init.lua
AgeCommit message (Collapse)Author
2009-04-02Removed macro support; just use Lua for scripting.mitchell
2009-02-28Removed 'project' Project Manager browser.mitchell
2009-02-12Replaced my key_commands.lua with consolidated key_commands_{std,mac}.lua.mitchell
2009-01-25Look for ~/.ta_modules to load modules, falling back on init.lua's default ones.mitchell
2009-01-25Replaced str:match with str:find where applicable for speed improvements.mitchell
2009-01-24Removed 'find' Project Manager browser.mitchell
2009-01-19Command line parameters can now be used in Windows.mitchell
2009-01-10Various improvements to speed and readability of Lua code.mitchell
Added 'local textadept = _G.textadept' to all Lua modules, themes, etc. Added more locals to core/ext/keys.lua for speed improvement. Reformatted some Lua modules to the earlier standard committed.
2009-01-05Move all 'require' statements into init.lua and label for easy configuration.mitchell
2009-01-01Updated copyright dates for 2009.mitchell
2008-12-22Enable the menubar by default; init.luamitchell
2008-12-14Added option to load key_commands_mac to init.lua.mitchell
2008-11-02Fixed key handling and arg handling for Mac.mitchell
2008-10-27Updated Textadept to compile and run on OSX with native GTK framework.mitchell
2008-07-05Can load standard key commands from init.lua.mitchell
2008-07-05Can load comprehensive menu from init.lua.mitchell
2008-06-18Always load Project Manager settings from session file.mitchell
2008-06-17Added Tab-completion to Lua Command Entry.mitchell
2008-03-03Modified some package paths for consistency.mitchell
2008-03-03Updated copyright notice to include the year 2008.mitchell
2008-02-03Added textadept.reset() function for resetting the Lua state.mitchell
The l_init function takes an additional reinit boolean as a result. When resetting, the package.loaded and _G tables are cleared. Since the textadept.buffers, textadept.views, and arg tables were originally in _G, they were moved to the LUA_REGISTRYINDEX table so as not to be lost. They are still available in _G, but as links to the tables in LUA_REGISTRYINDEX. textadept.reset() sets a global RESETTING boolean to true when init.lua is re-run so things like reloading a session or reloading files from the command line do not occur. The boolean is set to nil afterwards.
2007-12-03Fixed package precedence bug; init.luamitchell
When Textadept opens a file that is associated with a module, it loads that module to get filetype-specific functionality. When operating in a directory like lexers/ and opening a lexer file, Textadept wants to open the Lua module but mistakenly thinks that the Lua lexer (lua.lua) is the module. This fix gives the module path precedence over the package path.
2007-12-02Fixed command line parameters bug; init.luamitchell
When files are passed by the command line, they are assumed to be relative to Textadept's path. Instead, check if the file has a leading '~/' or '/' indicating an absolute path. If so, do not treat it that way. Otherwise treat it as relative.
2007-10-07Moved key command manager to core.mitchell
2007-09-24Updated documentation.mitchell
2007-08-06Fixed bug with opening files via command line arguments; init.luamitchell
When the path to the Textadept executable is not specified, base_dir is nil. Attempting to concat it with a filename throws an error, so base_dir defaults to the empty string.
2007-08-06Initial import of Textadept Lua init script.mitchell