Zachary Yedidia
eeaac76f5f
Use io.Readers to read files more efficiently
2016-11-29 13:44:30 -05:00
Zachary Yedidia
400ac56651
Make tab.CurView public
2016-11-28 20:50:11 -05:00
Zachary Yedidia
5481a834bf
Actually rename width, height, lockWidth, lockHeight
2016-11-28 20:28:40 -05:00
Zachary Yedidia
e53229ec00
Make some view vars public
2016-11-28 20:23:22 -05:00
Zachary Yedidia
cee5a88341
Allow creating splits at arbitrary indices
2016-11-28 20:20:30 -05:00
Zachary Yedidia
1b92700990
Allow splits to be created in either direction
...
This commit adds the `splitRight` and `splitBottom` options to allow
the user to pick which direction to split in.
This also means that a new split is no longer just appended to the list
of splits.
2016-11-28 19:16:49 -05:00
Zachary Yedidia
0fbae7610c
Fix buffer name problem
...
Fixes #458
2016-11-19 19:07:51 -05:00
Zachary Yedidia
4ce02e4c85
Add foundation for resizing splits arbitrarily
...
This commit adds the ability to lock a split's width or height so
you can have splits that aren't equally sized. It isn't yet possible
for users to resize splits but the functionality has been implemented.
2016-11-16 12:36:48 -05:00
Jon Craton
55add69fa0
Removed duplicate paste code for OS-level paste
2016-10-28 23:15:55 -04:00
Jon Craton
9719e6caa7
Search entire file instead of line 1 to the number of lines in view
2016-10-28 19:42:17 -04:00
Zachary Yedidia
74610b8cd7
Fix problem with calculation Bottomline
...
Fixes #432
2016-10-26 12:29:23 -04:00
Zachary Yedidia
1b9bb31dd6
Cleanup and add more comments
2016-10-18 11:12:28 -04:00
Zachary Yedidia
d3c5e3ab47
Improvements for softwrap mouse support
2016-10-13 17:09:15 -04:00
Zachary Yedidia
c50dda244b
Fix mouse support with soft wrap
2016-10-13 14:26:45 -04:00
Zachary Yedidia
5c2a2b1b7e
Fix problem with horizontal scrolling
2016-10-12 22:05:24 -04:00
Zachary Yedidia
69e45f9a4f
Fix problem causing hsplits not to display
2016-10-12 22:03:16 -04:00
Zachary Yedidia
ea1de18326
Add docs
2016-10-12 16:34:34 -04:00
Zachary Yedidia
edd25c68ee
Fix glitch with bottomline when softwrap is disabled
2016-10-12 16:30:32 -04:00
Zachary Yedidia
e30a4139e6
Add softwrap
2016-10-12 16:24:00 -04:00
Zachary Yedidia
104699e500
Use default foreground for empty indent chars
...
Fixes #403
2016-10-10 18:40:21 -04:00
Zachary Yedidia
32cd94b88f
Minor optimization to tabsize fix
2016-09-28 18:08:06 -04:00
Zachary Yedidia
5e5dd78b7c
Merge pull request #387 from boombuler/bug379
...
fixes #379 (second try)
2016-09-28 18:06:18 -04:00
Joe Tsai
7c3425a012
fix offset calculation for column ruler
...
The calculation for the column ruler index should:
* include the offset for the line numbers gutter
* not include the leftmost column since ruler should scroll with the pane
Fixes #379
2016-09-28 13:40:48 -07:00
boombuler
bc724bf781
fixes #379 (second try)
2016-09-28 21:54:34 +02:00
Zachary Yedidia
97bdb15bd6
Revert "fixes #379 "
2016-09-28 14:07:17 -04:00
Zachary Yedidia
fb69ecdc9b
Add 'autosave' option
...
Closes #278
2016-09-28 13:07:05 -04:00
Florian Sundermann
d7e38a52ea
fixes #379
...
when tabstospaces is off tabs were always treated as
as a number of spaces not as tabs with tabstops.
2016-09-28 08:12:19 +02:00
boombuler
f904e2fe99
always scroll log to the cursor befor drawing and don't ask for save changes for help and log views
2016-09-27 17:52:40 +02:00
boombuler
c1a3ee1706
possibility to show a log view
2016-09-26 19:08:37 +02:00
Zachary Yedidia
5cc66cef42
Fix problems recognizing CtrlH
...
Fixes #368
The 'Backspace2' key has been renamed to 'Backspace'.
2016-09-26 09:34:55 -04:00
Zachary Yedidia
243f99aeb1
Add function to load runtime files from a directory for a plugin
2016-09-16 16:15:44 -04:00
Florian Sundermann
9eeb14956c
allow plugins to list / read runtime files
...
also renamed most of the new functions to be
more specific about what kind of files this is for.
2016-09-15 16:42:45 +02:00
Florian Sundermann
796638d095
simplified file handling for runtime files
2016-09-15 15:50:26 +02:00
boombuler
a7f159bddc
Load help files when needed
2016-09-13 08:53:20 +02:00
Zachary Yedidia
d0fa467a3c
Revert "Improve performance for very long lines"
...
This reverts commit d5694c0f35 .
Fixes #351
See #348
2016-09-11 16:05:15 -04:00
Zachary Yedidia
0bc80adc28
Fix strange selection for long lines
...
See #351
2016-09-11 15:00:44 -04:00
Zachary Yedidia
fd786b3020
Allow a buffer to be opened simultaneously
2016-09-10 10:30:15 -04:00
Zachary Yedidia
d5694c0f35
Improve performance for very long lines
2016-09-10 10:03:51 -04:00
Zachary Yedidia
8f06e51170
Add colorcolumn option
...
Fixes #333
For example: `> set colorcolumn 80`.
2016-09-07 17:17:51 -04:00
Zachary Yedidia
cc73efc0bd
Merge branch 'master' of https://github.com/to-miz/micro into to-miz-master
2016-09-07 16:57:42 -04:00
Zachary Yedidia
e643860e3d
Add Open command for view
2016-09-06 19:58:34 -04:00
anatoly techtonik
1f457f9d9e
Fix CanClose comment after API change
...
Follow up to 966dac97f8
2016-09-06 22:51:13 +03:00
Zachary Yedidia
539495d2f7
Add support for macros
...
Closes #270
CtrlU to toggle recording and CtrlJ to playback.
You can also rebind using the "ToggleMacro" and "PlayMacro"
actions.
Note that recursive macros are not yet supported.
2016-09-06 10:44:15 -04:00
Zachary Yedidia
966dac97f8
Make unsaved changes prompt more clear
...
Fixes #301
2016-09-06 10:06:36 -04:00
to-miz
725533d991
fixed inserting runes that require ctrl+alt
...
we check wheter an input is a binding first, only if it is not a binding
do we insert the rune regardless of modifiers
2016-09-05 16:03:05 +02:00
Zachary Yedidia
2041e12eba
Fix some issues with mouse selection copying
2016-09-05 08:36:30 -04:00
Zachary Yedidia
6721ec8e7d
Copy to primary clipboard for any change in selection
2016-09-04 21:19:14 -04:00
Zachary Yedidia
a8feef3c12
Minor cleanup
...
See #300
2016-09-04 12:57:09 -04:00
Zachary Yedidia
54a34001e3
Fix cursor problem in LetterPrompt
...
Fixes #300
2016-09-04 11:19:53 -04:00
Zachary Yedidia
89c34ed8b3
Copy to primary clipboard on mouse selection
2016-09-02 10:44:32 -04:00