Dan Kaplun
|
db3b05e462
|
Moves markup functions into lib/markup.js
|
2014-04-30 07:14:54 -05:00 |
|
Dan Kaplun
|
577ad95626
|
Uses _markupLine for _markup
|
2014-04-30 06:51:16 -05:00 |
|
Dan Kaplun
|
3a0791d4d4
|
Adds semicolon
|
2014-04-30 06:12:08 -05:00 |
|
Dan Kaplun
|
66ac8885f5
|
Highlighting fixes
|
2014-04-30 05:50:26 -05:00 |
|
Dan Kaplun
|
12dd49c3db
|
Adds (and fixes) tests
|
2014-04-30 04:59:32 -05:00 |
|
Dan Kaplun
|
072c30d140
|
Improves Mac support
|
2014-04-29 15:36:11 -05:00 |
|
Dan Kaplun
|
e38217a7d8
|
Explicitly specifies default useSpaces value
|
2014-04-29 03:13:56 -05:00 |
|
Dan Kaplun
|
9e19c35953
|
Fixes bug where selection is lost on mousedown if previous mouseup event wasn't triggered
|
2014-04-29 02:38:42 -05:00 |
|
Dan Kaplun
|
828cae4d20
|
Simple highlighting implementation
|
2014-04-29 02:35:49 -05:00 |
|
Dan Kaplun
|
32402aa01c
|
Implements indent/dedent
|
2014-04-28 21:45:23 -05:00 |
|
Dan Kaplun
|
974076ab86
|
Moving up 'into' a tab goes to end of tab
|
2014-04-28 19:13:35 -05:00 |
|
Dan Kaplun
|
8f5554f8c5
|
visiblePos and realPos return copies rather than modifying
|
2014-04-28 18:41:00 -05:00 |
|
Dan Kaplun
|
69cb49eba8
|
Adds useSpaces option for tabs
|
2014-04-28 18:13:55 -05:00 |
|
Dan Kaplun
|
0e5be04455
|
Adds undo support
|
2014-04-28 16:36:40 -05:00 |
|
Dan Kaplun
|
da66af51f2
|
Renames 'change' event to 'text', adds load param to it, and adds new 'change' event corresponding to actual change
|
2014-04-28 16:34:07 -05:00 |
|
Dan Kaplun
|
c24ba97c18
|
Fixes editing selections
|
2014-04-28 06:21:24 -05:00 |
|
Dan Kaplun
|
b8d8ce0584
|
Changes name to slap
|
2014-04-28 03:48:47 -05:00 |
|
Dan Kaplun
|
529aae544b
|
Fixes EPIPE if xclip not found
|
2014-04-28 03:43:46 -05:00 |
|
Dan Kaplun
|
101df3243c
|
Adds escape keybinding for quitting
|
2014-04-28 02:48:48 -05:00 |
|
Dan Kaplun
|
f6e6e1c65d
|
Fixes _markupIndex bug
|
2014-04-28 02:24:34 -05:00 |
|
Dan Kaplun
|
ccbced64ec
|
Cleans up coordinate handling
|
2014-04-27 23:08:07 -05:00 |
|
Dan Kaplun
|
b7eaa5ca5c
|
Fixes preferredCursorX bug with Home/End by automatically setting it
|
2014-04-27 22:26:52 -05:00 |
|
Dan Kaplun
|
4bc8d13b7f
|
Improves left/right keyboard cursor movement
|
2014-04-27 21:25:44 -05:00 |
|
Dan Kaplun
|
926a4791f4
|
Adds stripLineEndings param to Editor.line
|
2014-04-27 21:09:11 -05:00 |
|
Dan Kaplun
|
fb3952958c
|
Tab support
|
2014-04-27 21:03:28 -05:00 |
|
Dan Kaplun
|
800cdb463a
|
Rename ._realIndex to ._markupIndex
|
2014-04-27 01:55:03 -05:00 |
|
Dan Kaplun
|
fc9d45afdf
|
Removes console.error
|
2014-04-27 01:11:03 -05:00 |
|
Dan Kaplun
|
d265e7d31f
|
Uses this.data for preferredCursorX
|
2014-04-27 00:37:10 -05:00 |
|
Dan Kaplun
|
efffd2272e
|
Implements Ctrl+A for select all
|
2014-04-26 22:31:14 -05:00 |
|
Dan Kaplun
|
5ef77ab2f1
|
Fixes support for some characters
|
2014-04-26 22:29:11 -05:00 |
|
Dan Kaplun
|
f32bdbbafe
|
Implements insertMode
|
2014-04-26 22:22:14 -05:00 |
|
Dan Kaplun
|
f9edfe3fb1
|
Fixes 'lines' event to pass lines obj and adds 'change' event with text
|
2014-04-26 22:06:14 -05:00 |
|
Dan Kaplun
|
f5b9714aca
|
Caches this.data.maxWidth
|
2014-04-26 22:02:15 -05:00 |
|
Dan Kaplun
|
51d5a88984
|
Stores all data in this.data
|
2014-04-26 21:57:30 -05:00 |
|
Dan Kaplun
|
7d4dbd42d5
|
Blah
|
2014-04-26 21:05:54 -05:00 |
|
Dan Kaplun
|
b5d96a7672
|
Fixes bug with selection
|
2014-04-26 20:57:48 -05:00 |
|
Dan Kaplun
|
13edc35bdf
|
Adds bin command
|
2014-04-26 12:07:26 -05:00 |
|
Dan Kaplun
|
8f4d79061a
|
Implements paste
|
2014-04-26 11:29:19 -05:00 |
|
Dan Kaplun
|
4f119c7e2a
|
Uses blessed _updateCursor hook
|
2014-04-26 11:23:56 -05:00 |
|
Dan Kaplun
|
0b99dc2372
|
Fix for selectStyle
|
2014-04-26 11:14:21 -05:00 |
|
Dan Kaplun
|
d847685937
|
Rearrange lib/editor.js
|
2014-04-26 11:02:26 -05:00 |
|
Dan Kaplun
|
07916fc16c
|
Editor now editable
|
2014-04-26 10:54:39 -05:00 |
|
Dan Kaplun
|
d743958932
|
Bug fixes
|
2014-04-26 04:30:52 -05:00 |
|
Dan Kaplun
|
8d3e4304b6
|
Makes selectStyle more flexible
|
2014-04-26 04:08:07 -05:00 |
|
Dan Kaplun
|
5fef6fc6bc
|
Updates to newer version of blessed
|
2014-04-26 03:48:39 -05:00 |
|
Dan Kaplun
|
d3afc2b48a
|
Better movement with selections
|
2014-04-26 03:41:19 -05:00 |
|
Dan Kaplun
|
abe5044bcf
|
Emits change event on delete/backspace
|
2014-04-26 03:35:10 -05:00 |
|
Dan Kaplun
|
ee973a81fb
|
Fixes support for moving by word
* Adds lib/word.js (shamelessly stolen from dominictarr/hipster)
|
2014-04-26 03:16:16 -05:00 |
|
Dan Kaplun
|
d5ea42ce54
|
Cleanup
|
2014-04-25 19:42:09 -05:00 |
|
Dan Kaplun
|
bbac650b51
|
Adds support for initializing with new buffer instead of file
|
2014-04-25 18:34:13 -05:00 |
|