Permalink
Browse files

heh

  • Loading branch information...
0 parents commit 2bfd092288abcb98bdc119a5e43f01c12984d449 @atsuoishimoto atsuoishimoto committed Jun 16, 2013
Showing with 39,419 additions and 0 deletions.
  1. +171 −0 README.rst
  2. +9,546 −0 _gappedbuf/_gappedbuf.c
  3. +42 −0 _gappedbuf/_gappedbuf.h
  4. +48 −0 _gappedbuf/_gappedbuf.pxd
  5. +486 −0 _gappedbuf/_gappedbuf.pyx
  6. +3 −0 _gappedbuf/_gappedbufre.h
  7. +17 −0 _gappedbuf/rtdef.pxd
  8. +3,996 −0 _gappedbufre/_sre.c
  9. +100 −0 _gappedbufre/sre.h
  10. +86 −0 _gappedbufre/sre_constants.h
  11. +1 −0 build/lib.macosx-10.8-x86_64-3.3/gappedbuf/__init__.py
  12. +360 −0 build/lib.macosx-10.8-x86_64-3.3/gappedbuf/re.py
  13. +521 −0 build/lib.macosx-10.8-x86_64-3.3/gappedbuf/sre_compile.py
  14. +259 −0 build/lib.macosx-10.8-x86_64-3.3/gappedbuf/sre_constants.py
  15. +859 −0 build/lib.macosx-10.8-x86_64-3.3/gappedbuf/sre_parse.py
  16. +45 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/__init__.py
  17. +33 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/command.py
  18. 0 build/lib.macosx-10.8-x86_64-3.3/kaa/commands/__init__.py
  19. +120 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/commands/appcommand.py
  20. +288 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/commands/editorcommand.py
  21. +125 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/commands/filecommand.py
  22. +36 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/context.py
  23. 0 build/lib.macosx-10.8-x86_64-3.3/kaa/cui/__init__.py
  24. +197 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/cui/app.py
  25. +30 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/cui/color.py
  26. +15 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/cui/commandwnd.py
  27. +80 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/cui/dialog.py
  28. +329 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/cui/editor.py
  29. +180 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/cui/frame.py
  30. +299 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/cui/keydef.py
  31. +69 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/cui/main.py
  32. +231 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/cui/splitter.py
  33. +220 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/cui/wnd.py
  34. +165 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/cursor.py
  35. +347 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/document.py
  36. +111 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/fileio.py
  37. 0 build/lib.macosx-10.8-x86_64-3.3/kaa/filetype/__init__.py
  38. +1 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/filetype/default/__init__.py
  39. +48 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/filetype/default/defaultmode.py
  40. +93 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/filetype/default/keybind.py
  41. +218 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/filetype/default/modebase.py
  42. +5 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/filetype/default/theme.py
  43. +8 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/filetype/python/__init__.py
  44. +31 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/filetype/python/pythonmode.py
  45. +327 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/highlight.py
  46. +146 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/keyboard.py
  47. +25 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/keydispatcher.py
  48. +48 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/macro.py
  49. +7 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/options.py
  50. +605 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/screen.py
  51. +2 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/statusbar.py
  52. +38 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/theme.py
  53. +79 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/tools.py
  54. 0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/__init__.py
  55. +1 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/dialog/__init__.py
  56. +164 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/dialog/dialogmode.py
  57. 0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/fileopendlg/__init__.py
  58. +443 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/fileopendlg/fileopendlgmode.py
  59. 0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/framelist/__init__.py
  60. +125 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/framelist/framelistmode.py
  61. 0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/itemlist/__init__.py
  62. +109 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/itemlist/itemlistmode.py
  63. +1 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/mainmenu/__init__.py
  64. +82 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/mainmenu/mainmenumode.py
  65. 0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/messagebar/__init__.py
  66. +22 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/messagebar/messagebarmode.py
  67. +1 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/moveseparator/__init__.py
  68. +78 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/moveseparator/moveseparatormode.py
  69. 0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/msgbox/__init__.py
  70. +107 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/msgbox/msgboxmode.py
  71. 0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/searchdlg/__init__.py
  72. +9 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/searchdlg/keybind.py
  73. +54 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/searchdlg/searchcommand.py
  74. +355 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/searchdlg/searchdlgmode.py
  75. 0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/statusbar/__init__.py
  76. +76 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/ui/statusbar/statusbarmode.py
  77. +15 −0 build/lib.macosx-10.8-x86_64-3.3/kaa/utils.py
  78. +1 −0 gappedbuf/__init__.py
  79. +360 −0 gappedbuf/re.py
  80. +521 −0 gappedbuf/sre_compile.py
  81. +259 −0 gappedbuf/sre_constants.py
  82. +859 −0 gappedbuf/sre_parse.py
  83. +45 −0 kaa/__init__.py
  84. +33 −0 kaa/command.py
  85. 0 kaa/commands/__init__.py
  86. +120 −0 kaa/commands/appcommand.py
  87. +288 −0 kaa/commands/editorcommand.py
  88. +125 −0 kaa/commands/filecommand.py
  89. +36 −0 kaa/context.py
  90. 0 kaa/cui/__init__.py
  91. +197 −0 kaa/cui/app.py
  92. +30 −0 kaa/cui/color.py
  93. +15 −0 kaa/cui/commandwnd.py
  94. +80 −0 kaa/cui/dialog.py
  95. +329 −0 kaa/cui/editor.py
  96. +180 −0 kaa/cui/frame.py
  97. +297 −0 kaa/cui/keydef.py
  98. +69 −0 kaa/cui/main.py
  99. +231 −0 kaa/cui/splitter.py
  100. +220 −0 kaa/cui/wnd.py
  101. +165 −0 kaa/cursor.py
  102. +347 −0 kaa/document.py
  103. +111 −0 kaa/fileio.py
  104. 0 kaa/filetype/__init__.py
  105. +1 −0 kaa/filetype/default/__init__.py
  106. +48 −0 kaa/filetype/default/defaultmode.py
  107. +94 −0 kaa/filetype/default/keybind.py
  108. +218 −0 kaa/filetype/default/modebase.py
  109. +5 −0 kaa/filetype/default/theme.py
  110. +8 −0 kaa/filetype/python/__init__.py
  111. +31 −0 kaa/filetype/python/pythonmode.py
  112. +327 −0 kaa/highlight.py
  113. +146 −0 kaa/keyboard.py
  114. +25 −0 kaa/keydispatcher.py
  115. +48 −0 kaa/macro.py
  116. +7 −0 kaa/options.py
  117. +605 −0 kaa/screen.py
  118. +2 −0 kaa/statusbar.py
  119. +38 −0 kaa/theme.py
  120. +79 −0 kaa/tools.py
  121. 0 kaa/ui/__init__.py
  122. +1 −0 kaa/ui/dialog/__init__.py
  123. +164 −0 kaa/ui/dialog/dialogmode.py
  124. 0 kaa/ui/fileopendlg/__init__.py
  125. +443 −0 kaa/ui/fileopendlg/fileopendlgmode.py
  126. 0 kaa/ui/framelist/__init__.py
  127. +125 −0 kaa/ui/framelist/framelistmode.py
  128. 0 kaa/ui/itemlist/__init__.py
  129. +109 −0 kaa/ui/itemlist/itemlistmode.py
  130. +1 −0 kaa/ui/mainmenu/__init__.py
  131. +82 −0 kaa/ui/mainmenu/mainmenumode.py
  132. 0 kaa/ui/messagebar/__init__.py
  133. +22 −0 kaa/ui/messagebar/messagebarmode.py
  134. +1 −0 kaa/ui/moveseparator/__init__.py
  135. +78 −0 kaa/ui/moveseparator/moveseparatormode.py
  136. 0 kaa/ui/msgbox/__init__.py
  137. +107 −0 kaa/ui/msgbox/msgboxmode.py
  138. 0 kaa/ui/searchdlg/__init__.py
  139. +9 −0 kaa/ui/searchdlg/keybind.py
  140. +54 −0 kaa/ui/searchdlg/searchcommand.py
  141. +355 −0 kaa/ui/searchdlg/searchdlgmode.py
  142. 0 kaa/ui/statusbar/__init__.py
  143. +76 −0 kaa/ui/statusbar/statusbarmode.py
  144. +15 −0 kaa/utils.py
  145. +3,967 −0 save-re/re_3.3/_sre.c
  146. +360 −0 save-re/re_3.3/re.py
  147. +100 −0 save-re/re_3.3/sre.h
  148. +518 −0 save-re/re_3.3/sre_compile.py
  149. +86 −0 save-re/re_3.3/sre_constants.h
  150. +259 −0 save-re/re_3.3/sre_constants.py
  151. +859 −0 save-re/re_3.3/sre_parse.py
  152. +44 −0 setup.py
  153. +79 −0 test/kaa_testutils.py
  154. +40 −0 test/test_cuiapp.py
  155. +132 −0 test/test_cursor.py
  156. +79 −0 test/test_dialog.py
  157. +98 −0 test/test_editorcommands.py
  158. +23 −0 test/test_framelist.py
  159. +297 −0 test/test_highlight.py
  160. +128 −0 test/test_keyboard.py
  161. +60 −0 test/test_macro.py
  162. +22 −0 test/test_mainmenu.py
  163. +76 −0 test/test_modebase.py
  164. +17 −0 test/test_msgbox.py
  165. +441 −0 test/test_screen.py
  166. +85 −0 test/test_searchdlgmode.py
  167. +18 −0 test/test_statusbarmode.py
  168. +292 −0 test/test_textdocument.py
  169. +319 −0 test_gappedbuf/test_buf.py
  170. +40 −0 test_gappedbuf/test_bufre.py
@@ -0,0 +1,171 @@
+============================
+Kaa - console text editor
+============================
+
+Kaa is a small and easy text editor for console environment.
+
+.. DANGER::
+ Kaa is still in the very early stage of development. Don't use kaa for other purpose than evaluation.
+
+.. contents::
+
+Requirements
+============
+
+* Python 3.3 or later
+
+* Headers and librares for ncurses. Consult documentation of your platform for detail. With Debian/Ubuntu, you can install ncurses library with ::
+
+ $ sudo apt-get install libncurses-dev
+
+* (optional) Cython
+
+Installation
+============
+
+1. Get source from ::
+
+ $ git clone
+
+2. Install kaa ::
+
+ $ cd kaa
+ $ python setup.py install
+
+Command line options
+====================
+
+To start kaa, type ::
+
+ $ kaa [FILE]...
+
+Usage
+=====
+
+Using kaa is intuitive. Typing alphabet keys will update file as you expected. Functional keys like arrow or delete keys also works.
+
+Using menu
+-----------
+
+To display menu, type F1 key. Each items in the menu has one underlined character. Typing the underlined character extecutes the menu item.
+
+To hide menu, type escape key.
+
+File menu
+++++++++++
+
+Open
+ Open existing file.
+
+Save
+ Save current file.
+
+Save As
+ Save current file as new file.
+
+Close
+ Close current frame.
+
+Quit
+ Terminate kaa.
+
+
+Edit menu
++++++++++
+
+Cut
+ Cut selected text.
+
+Copy
+ Copy selected text.
+
+Paste
+ Paste from clipboard.
+
+Undo
+ Undo last modification.
+
+Redo
+ Redo last undo.
+
+
+Macro menu
+++++++++++
+
+Start record
+ Start macro recording.
+
+End record
+ End macro recording.
+
+Run macro
+ Run last macro.
+
+
+Window menu
++++++++++++
+
+Frame list
+ Show list of frame windows. Use left/right arrow key to change active frame.
+
+Split vert
+ Split current window vertically.
+
+Split horz
+ Split current window horizontally.
+
+Move separator
+ Move window separator. Use left/right arrow key to move separator.
+
+Next window
+ Activate next window.
+
+Join window
+ Join splitted window.
+
+Switch file
+ Switch content of active window.
+
+
+Key bindings
+------------
+
+Arrow keys
+ Move cursor.
+
+Shift+arrow keys
+ Select text.
+
+Control+left/right arrow keys
+ Move cursor to next/prev word boundary.
+
+Backspace
+ Delete the character to the left.
+
+Delete
+ Delete the character at the cursor.
+
+Control+z
+ Undo last change.
+
+Control+r
+ Redo last undoi.
+
+F6
+ Toggle macro recording on/off.
+
+F5
+ Run macro.
+
+Control+S
+ Search text.
+
+Alt+S
+ Replace text.
+
+Control+b|Control+f|Control+p|Control+n
+ Move cursor to left|right|up|down.
+
+Alt+b|Alt+f
+ Move cursor to next/prev word boundary.
+
Oops, something went wrong.

0 comments on commit 2bfd092

Please sign in to comment.