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
Saeed Rasooli
127ebc15b9
Improvement: improve Search behaviour, and Escape key behaviour
2016-10-13 00:49:43 +03:30
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
Saeed Rasooli
546acfd21d
Fixes in last PR: MoveLinesUp and MoveLinesDown ( #408 )
...
* Bugfix: fix panic in MoveLinesUp when moving up the *last* line
* Bugfix: don't panic in Buffer.Line if index is out or range
* clean MoveLinesDown since it won't work for the last line anyway, add comment
* Cleanup: replace spaces with tabs in MoveLinesUp and MoveLinesDown
2016-10-12 11:38:44 -04:00
Saeed Rasooli
0bf07eadcc
Improvement: move MoveLinesUp and MoveLinesDown to Buffer
...
enables Undo/Redo with EventHandler, #407
2016-10-12 08:15:46 +03:30
Saeed Rasooli
c1dd403ab9
Feature: add MoveLinesUp (Alt + Up) and MoveLinesDown (Alt + Down) actions
2016-10-12 08:15:46 +03:30
Zachary Yedidia
d163637fa8
Update docs
2016-10-11 09:13:03 -04:00
Zachary Yedidia
905d4d7020
Make monokai the default colorscheme
...
Monokai is a better default colorscheme because it has a better 16
color approximation than zenburn. On 16 color terminals, it looks like
zenburn is not syntax highlighting anything.
2016-10-11 09:09:56 -04:00
Zachary Yedidia
f85dd77036
Merge
2016-10-10 21:44:48 -04:00
Zachary Yedidia
8f5f8ffdd6
Fix tabstop sizing with mix of tabs and spaces
...
Fixes #404
2016-10-10 21:44:16 -04:00
Zachary Yedidia
b09093f78c
Merge
2016-10-10 18:40:48 -04:00
Zachary Yedidia
104699e500
Use default foreground for empty indent chars
...
Fixes #403
2016-10-10 18:40:21 -04:00
Zachary Yedidia
38bf8c0225
Temporary fix for plugin panic
...
Fixes #402
2016-10-07 20:34:03 -04:00
Zachary Yedidia
6acda994e4
Update docs and readme
2016-10-06 20:36:37 -04:00
Zachary Yedidia
e563211790
Make linter a default plugin once again
2016-10-06 20:28:10 -04:00
Zachary Yedidia
aa624d86e6
Move linter and go plugins to their own repos
...
The linter and go plugins are no longer 'default'. Their installation
should be handled by the plugin manager: `> plugin install go` and
`> plugin install linter`.
The autoclose plugin will remain a default plugin because it provides
a more essential feature.
Closes #397
2016-10-06 17:18:53 -04:00
Zachary Yedidia
c410b7b2ce
Improve plugin manager error feedback
2016-10-06 13:39:57 -04:00
Zachary Yedidia
921b828afb
Add some documentation about plugin manager
2016-10-05 18:26:41 -04:00
Zachary Yedidia
d3d35bd9ff
Add more descriptive error messages for plugin installation failures
...
Ref #378
2016-10-05 18:00:05 -04:00
Zachary Yedidia
76a328a062
Use official plugin channel
...
Use the channel for official plugins from
https://github.com/micro-editor/plugin-channel
Ref #378
2016-10-05 17:57:03 -04:00
Zachary Yedidia
fb90e169cb
Only allow one package per repository
...
This may be temporary.
Ref #378
2016-10-05 17:52:39 -04:00
Zachary Yedidia
a1a307d858
Merge pull request #378 from boombuler/pm
...
Plugin-Manager
2016-10-05 17:51:22 -04:00
Zachary Yedidia
3733e7e223
Add 'Unsplit' action and VSplit and HSplit actions
...
This commit adds the 'Unsplit' action used to close all splits except
the current one.
It also adds the 'VSplit' and 'HSplit' actions which open empty
vertical/horizontal splits so you can bind them to keys.
Closes #228
2016-10-04 11:08:32 -04:00
boombuler
3e8a587aa3
changed json5 repo
2016-10-02 07:57:39 +02:00
boombuler
8f2f1f8c1d
skip core dependencies if micro was build with an unknown version.
2016-10-01 09:28:48 +02:00
boombuler
a940ce3036
allow user to set plugin channels / repos in settings.json
2016-10-01 08:37:04 +02:00
boombuler
d7da72a720
fix plugin zips which contain a root directory
2016-10-01 08:05:05 +02:00
boombuler
b54853140a
new command plugin list
...
this command shows all currently installed plugins and their verion
2016-10-01 07:37:20 +02:00
boombuler
8ad2179423
Merge remote-tracking branch 'zyedidia/master' into pm
2016-10-01 07:20:21 +02:00
Zachary Yedidia
3037d72bcb
Fix more tabnum issues
...
Fixes #395
2016-09-30 07:29:24 -04:00
Zachary Yedidia
7d16e97b95
Switch to my fork of json5
...
This should reduce go get download times for micro considerably
because the original json5 committed a bunch of binaries which
cause the repository to be very large and slow to download.
My fork fixes that.
2016-09-29 18:43:10 -04:00
Zachary Yedidia
0293b774f3
Fix SplitTree tab index
...
Fixes #392
2016-09-29 14:23:25 -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
boombuler
1fe1c3eabb
improved plugin search
2016-09-28 18:31:05 +02:00
Zachary Yedidia
191fd5e495
Merge pull request #382 from boombuler/bug379
...
fixes #379
2016-09-28 12:30:01 -04:00
boombuler
8aa017bfda
autocomplete plugin commands
2016-09-28 18:15:39 +02:00
boombuler
9ea947c808
improved logging
2016-09-28 18:00:12 +02:00
boombuler
2a7a55eca4
better plugin search
2016-09-28 17:55:44 +02:00
boombuler
759c00098b
Merge remote-tracking branch 'zyedidia/master' into pm
2016-09-28 17:36:37 +02:00
Florian Sundermann
cce36624dc
PM should not install already installed plugins.
2016-09-28 16:34:28 +02:00
Zachary Yedidia
4664850186
Merge pull request #384 from boombuler/logview
...
don't use undo / redo history for log buffer.
2016-09-28 10:24:30 -04:00
Florian Sundermann
d9c666f6df
don't use undo / redo history for log buffer.
2016-09-28 15:47:31 +02: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
f3f4790103
simple plugin search
2016-09-27 21:25:57 +02:00
boombuler
83c1136ac5
Merge remote-tracking branch 'zyedidia/master' into pm
2016-09-27 20:57:49 +02:00
Zachary Yedidia
0ae5ae5d9a
HSplit log, and update docs
2016-09-27 14:29:55 -04:00
Zachary Yedidia
c070e3e8f7
Merge pull request #381 from boombuler/logview
...
Log View
2016-09-27 14:28:06 -04:00
Zachary Yedidia
0de167b07b
Add new plugin runtime function
2016-09-27 14:24:52 -04: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
b195ebad46
AddLog should be "public" accessible
2016-09-27 17:52:05 +02:00
Florian Sundermann
23ef69b935
change pluginmanager json to json5
2016-09-27 13:28:32 +02:00
Florian Sundermann
55c790f069
more tolerant version parsing
2016-09-27 13:26:11 +02:00
boombuler
50c7441533
also add TermMessage output to log
2016-09-26 19:28:42 +02:00
boombuler
c1a3ee1706
possibility to show a log view
2016-09-26 19:08:37 +02:00
boombuler
357fc09e69
Merge remote-tracking branch 'zyedidia/master' into pm
2016-09-26 18:24:43 +02:00
Zachary Yedidia
c1d08a6dc0
Fix typo
2016-09-26 12:08:35 -04:00
boombuler
f689143670
fixed tests
2016-09-26 17:51:50 +02:00
boombuler
56b3b79c50
removed testing code
2016-09-26 17:37:53 +02:00
Florian Sundermann
f351c251e4
first few pm commands
2016-09-26 16:53:39 +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
Florian Sundermann
6791759440
Merge remote-tracking branch 'zyedidia/master' into pm
2016-09-26 12:49:57 +02:00
Zachary Yedidia
292df7a9f7
Add mouse support and binding support to prompts
...
Closes #244
2016-09-24 15:26:19 -04:00
Zachary Yedidia
64fd96611c
Check buffer filetype after loading plugins
2016-09-24 14:30:35 -04:00
Zachary Yedidia
de4a007bdf
Merge pull request #371 from boombuler/plugins
...
Handle Plugins via RT-Files
2016-09-24 14:09:02 -04:00
boombuler
567faeb07e
initial commit of pluginmanager
2016-09-23 10:03:42 +02:00
Florian Sundermann
8172ebf62b
fixed loading order
...
plugins were not able to provide colorschemes
2016-09-19 16:04:59 +02:00
Florian Sundermann
1720d4023f
load plugins as rt-files
2016-09-19 14:40:56 +02:00
Florian Sundermann
da6ab78384
fixed build
2016-09-19 13:28:14 +02:00
Florian Sundermann
6fe20fb305
some additions to the plugin API
...
Those changes were originally used for the snippet plugin which
may not be part of the core.
2016-09-19 13:23:47 +02:00
Zachary Yedidia
d41f0bb324
Merge
2016-09-18 09:30:28 -04:00
Zachary Yedidia
8e555e60f7
Inherit background color from default
...
Fixes #366
2016-09-18 09:29:58 -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
Zachary Yedidia
ab36db7646
Update yaml header
2016-09-16 15:22:38 -04:00
Zachary Yedidia
2e3c87b67d
Add quick start guide to help.md
2016-09-16 12:14:08 -04:00
Zachary Yedidia
a549d12808
Merge pull request #334 from techtonik/filemanagers
...
Usability integration with file managers
2016-09-16 12:09:17 -04:00
Zachary Yedidia
149fea8b76
Allow plugins to add their own runtime files
2016-09-16 11:02:10 -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
Zachary Yedidia
79621505f1
Merge pull request #359 from boombuler/params
...
Params
2016-09-14 17:14:01 -04:00
Zachary Yedidia
e484445b1e
Merge pull request #354 from boombuler/help
...
Help
2016-09-14 17:13:46 -04:00
Richard Burke
bdc857952a
Added ability to validate options values when being set
2016-09-14 20:06:48 +01:00
Zachary Yedidia
2bcc59faea
Fix pyflakes linter pattern
...
Fixes #358
2016-09-14 12:54:31 -04:00
Florian Sundermann
6cc12b871c
include trailing path delimiter
...
"C:" is not valid on windows but "C:\" is.
"foo" is as valid as "foo/" on other OS...
2016-09-14 16:28:25 +02:00
Florian Sundermann
d201e7c503
fixed directory completion on windows
2016-09-14 16:15:49 +02:00
Zachary Yedidia
c695df0adf
Merge pull request #356 from boombuler/bug355
...
fixed bug 355
2016-09-14 07:29:44 -04:00
boombuler
7d395a29a7
don't clone unsaved file buffers.
...
if I open multiple empty tabs, I don't want the same "new file buffers"
2016-09-14 09:37:12 +02:00
boombuler
4046bb977e
fixed bug 355
2016-09-14 09:24:38 +02:00
boombuler
d250b9d7b0
allow plugins to have a help file
2016-09-13 09:06:06 +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
b5160c5d2c
Optimize search and replace a lot
2016-09-10 11:32:54 -04:00