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 482: edd40702d41b
parent 481: a5da48981366
branch: default
Updated copyright to 2010.
mitchell
2 months ago

Changed (Δ0 bytes):

raw changeset »

LICENSE (1 lines added, 1 lines removed)

core/._m.lua (1 lines added, 1 lines removed)

core/.browser.lua (1 lines added, 1 lines removed)

core/.buffer.lua (1 lines added, 1 lines removed)

core/.command_entry.lua (1 lines added, 1 lines removed)

core/.find.lua (1 lines added, 1 lines removed)

core/.pm.lua (1 lines added, 1 lines removed)

core/.textadept.lua (1 lines added, 1 lines removed)

core/.view.lua (1 lines added, 1 lines removed)

core/events.lua (1 lines added, 1 lines removed)

core/ext/command_entry.lua (1 lines added, 1 lines removed)

core/ext/find.lua (1 lines added, 1 lines removed)

core/ext/key_commands.lua (1 lines added, 1 lines removed)

core/ext/keys.lua (1 lines added, 1 lines removed)

core/ext/menu.lua (1 lines added, 1 lines removed)

core/ext/mime_types.conf (1 lines added, 1 lines removed)

core/ext/mime_types.lua (1 lines added, 1 lines removed)

core/ext/pm.lua (1 lines added, 1 lines removed)

core/ext/pm/buffer_browser.lua (1 lines added, 1 lines removed)

core/ext/pm/ctags_browser.lua (1 lines added, 1 lines removed)

core/ext/pm/file_browser.lua (1 lines added, 1 lines removed)

core/ext/pm/modules_browser.lua (1 lines added, 1 lines removed)

core/file_io.lua (1 lines added, 1 lines removed)

core/init.lua (1 lines added, 1 lines removed)

core/locale.conf (1 lines added, 1 lines removed)

core/locale.lua (1 lines added, 1 lines removed)

init.lua (1 lines added, 1 lines removed)

modules/cpp/commands.lua (1 lines added, 1 lines removed)

modules/cpp/init.lua (1 lines added, 1 lines removed)

modules/cpp/snippets.lua (1 lines added, 1 lines removed)

modules/lua/commands.lua (1 lines added, 1 lines removed)

modules/lua/init.lua (1 lines added, 1 lines removed)

modules/lua/snippets.lua (1 lines added, 1 lines removed)

modules/textadept/bookmarks.lua (1 lines added, 1 lines removed)

modules/textadept/editing.lua (1 lines added, 1 lines removed)

modules/textadept/init.lua (1 lines added, 1 lines removed)

modules/textadept/lsnippets.lua (1 lines added, 1 lines removed)

modules/textadept/mlines.lua (1 lines added, 1 lines removed)

modules/textadept/run.lua (1 lines added, 1 lines removed)

modules/textadept/session.lua (1 lines added, 1 lines removed)

scripts/gen_iface.lua (1 lines added, 1 lines removed)

scripts/update_doc (1 lines added, 1 lines removed)

src/Makefile (1 lines added, 1 lines removed)

src/lua_interface.c (1 lines added, 1 lines removed)

src/textadept.c (1 lines added, 1 lines removed)

src/textadept.h (1 lines added, 1 lines removed)

themes/dark/buffer.lua (1 lines added, 1 lines removed)

themes/dark/lexer.lua (1 lines added, 1 lines removed)

themes/dark/view.lua (1 lines added, 1 lines removed)

themes/light/buffer.lua (1 lines added, 1 lines removed)

Up to file-list LICENSE:

1
1
The MIT License
2
2
3
Copyright (c) 2007-2009 Mitchell Foral
3
Copyright (c) 2007-2010 Mitchell Foral
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
of this software and associated documentation files (the "Software"), to deal

Up to file-list core/._m.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
-- This is a DUMMY FILE used for making LuaDoc for built-in functions in the
3
3
-- global _m table.
4
4

Up to file-list core/.browser.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
-- This is a DUMMY FILE used for making LuaDoc for a textadept.pm browser.
3
3
4
4
---

Up to file-list core/.buffer.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
-- This is a DUMMY FILE used for making LuaDoc for built-in functions in the
3
3
-- global buffer table.
4
4

Up to file-list core/.command_entry.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
-- This is a DUMMY FILE used for making LuaDoc for built-in functions in the
3
3
-- global textadept.command_entry table.
4
4

Up to file-list core/.find.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
-- This is a DUMMY FILE used for making LuaDoc for built-in functions in the
3
3
-- global textadept.find table.
4
4

Up to file-list core/.pm.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
-- This is a DUMMY FILE used for making LuaDoc for built-in functions in the
3
3
-- global textadept.pm table.
4
4

Up to file-list core/.textadept.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
-- This is a DUMMY FILE used for making LuaDoc for built-in functions in the
3
3
-- global textadept table.
4
4

Up to file-list core/.view.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
-- This is a DUMMY FILE used for making LuaDoc for built-in functions in the
3
3
-- global view table.
4
4

Up to file-list core/events.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4
local locale = _G.locale

Up to file-list core/ext/command_entry.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4
local locale = _G.locale

Up to file-list core/ext/find.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4
local locale = _G.locale

Up to file-list core/ext/key_commands.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4
local locale = _G.locale

Up to file-list core/ext/keys.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4
local locale = _G.locale

Up to file-list core/ext/menu.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4
local locale = _G.locale

Up to file-list core/ext/mime_types.conf:

1
% Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
% Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
%
3
3
% Configuration file for mime-types.
4
4
% Each line defines a mime-type (by extension, shebang word, or Lua pattern) and

Up to file-list core/ext/mime_types.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4
local locale = _G.locale

Up to file-list core/ext/pm.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local pm = textadept.pm
4
4

Up to file-list core/ext/pm/buffer_browser.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4
local locale = _G.locale

Up to file-list core/ext/pm/ctags_browser.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4
local locale = _G.locale

Up to file-list core/ext/pm/file_browser.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4
local locale = _G.locale

Up to file-list core/ext/pm/modules_browser.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4
local locale = _G.locale

Up to file-list core/file_io.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4
local locale = _G.locale

Up to file-list core/init.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4

Up to file-list core/locale.conf:

1
% Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
% Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
%
3
3
% Localization file.
4
4
% The localized strings may contain UTF-8 characters, but not UTF-16 or UTF-32.

Up to file-list core/locale.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
---
4
4
-- Contains all messages used by Textadept for localization.

Up to file-list init.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4

Up to file-list modules/cpp/commands.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4

Up to file-list modules/cpp/init.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
---
4
4
-- The cpp module.

Up to file-list modules/cpp/snippets.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
---
4
4
-- Snippets for the cpp module.

Up to file-list modules/lua/commands.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4

Up to file-list modules/lua/init.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
---
4
4
-- The lua module.

Up to file-list modules/lua/snippets.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
---
4
4
-- Snippets for the lua module.

Up to file-list modules/textadept/bookmarks.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4
local locale = _G.locale

Up to file-list modules/textadept/editing.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4
local locale = _G.locale

Up to file-list modules/textadept/init.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
---
4
4
-- The textadept module.

Up to file-list modules/textadept/lsnippets.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4
local locale = _G.locale

Up to file-list modules/textadept/mlines.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4
local locale = _G.locale

Up to file-list modules/textadept/run.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4
local locale = _G.locale

Up to file-list modules/textadept/session.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
local textadept = _G.textadept
4
4
local locale = _G.locale

Up to file-list scripts/gen_iface.lua:

1
1
#!/usr/bin/lua
2
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
3
3
4
4
local f = io.open('../../scite-tools/branches/scite-st/src/scite/src/IFaceTable.cxx')
5
5
local contents = f:read('*all')

Up to file-list scripts/update_doc:

1
1
#!/usr/bin/lua
2
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
3
3
4
4
-- Generate LuaDoc.
5
5
os.execute('rm -rf ../doc/modules/')

Up to file-list src/Makefile:

1
# Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
# Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
.SUFFIXES: .c .o .h .a .cxx
4
4

Up to file-list src/lua_interface.c:

1
// Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
// Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
#include "textadept.h"
4
4

Up to file-list src/textadept.c:

1
// Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
// Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
#include "textadept.h"
4
4
#if __WIN32__

Up to file-list src/textadept.h:

1
// Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
// Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
3
3
#ifndef TEXTADEPT_H
4
4
#define TEXTADEPT_H

Up to file-list themes/dark/buffer.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
-- Dark editor theme for Textadept.
3
3
4
4
local textadept = _G.textadept

Up to file-list themes/dark/lexer.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
-- Dark lexer theme for Textadept.
3
3
4
4
module('lexer', package.seeall)

Up to file-list themes/dark/view.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
-- Dark editor theme for Textadept.
3
3
4
4
local textadept = _G.textadept

Up to file-list themes/light/buffer.lua:

1
-- Copyright 2007-2009 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
1
-- Copyright 2007-2010 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE.
2
2
-- Light editor theme for Textadept.
3
3
4
4
local textadept = _G.textadept