Commit graph

517 commits

Author SHA1 Message Date
Zachary Yedidia 8670a03973 Add the text member back.
It seems rope.Report is not acting how I expected it to. I need to look
into this in more detail but for now I am adding the Text variable back
to the Buffer.

Fixes #98
2016-05-06 19:15:10 -04:00
Zachary Yedidia aeff0f8170 Merge pull request #82 from zyedidia/plugins
Plugin System
2016-05-06 11:56:24 -04:00
Zachary Yedidia ae946c5f5e Update runtime 2016-05-06 11:55:41 -04:00
Zachary Yedidia 36e179a0a3 Merge pull request #97 from aerth/patch02
Hint at ^P and ^N after entering a Find
2016-05-06 11:51:02 -04:00
aerth 5baf2e226d
Hint at ^P and ^N after finding 2016-05-06 02:52:51 -07:00
Zachary Yedidia f80af4670f Add options to help text 2016-05-05 12:56:52 -04:00
Zachary Yedidia 31567c9e15 Add linter option 2016-05-05 12:53:28 -04:00
Zachary Yedidia 3cbb23bfbe Add automatic linting for Go, Python, C, D, Java, Javascript, Lua 2016-05-05 12:53:27 -04:00
Zachary Yedidia 1668e91310 Add linter plugin to easily make linters 2016-05-05 12:53:27 -04:00
Zachary Yedidia 59e71a4a0c Improved error parsing and use warnings for golint instead of errors 2016-05-05 12:53:27 -04:00
Zachary Yedidia 908bcb22ae Have go plugin create its own options 2016-05-05 12:53:27 -04:00
Zachary Yedidia 05e2886dca Fix build error 2016-05-05 12:53:27 -04:00
Zachary Yedidia a262530217 Fix gutter message line counting 2016-05-05 12:53:27 -04:00
Zachary Yedidia 30c7a9c4a5 Refine gutter messages and add go build checking to go plugin 2016-05-05 12:53:27 -04:00
Zachary Yedidia d933efc53d Add hooks for every action that's bindable 2016-05-05 12:53:26 -04:00
Zachary Yedidia a333f0ade2 Add default plugins, and install go plugin by default 2016-05-05 12:53:26 -04:00
Zachary Yedidia 603cec9d81 Load plugins from ~/.config/micro/plugins 2016-05-05 12:53:07 -04:00
Zachary Yedidia eba820a9c7 Rewrite gofmt and goimports as plugins 2016-05-05 12:53:07 -04:00
Zachary Yedidia e05e993e25 Interface with plugin.lua file 2016-05-05 11:31:59 -04:00
Zachary Yedidia 87d9221a73 Small optimization 2016-05-05 11:23:20 -04:00
Zachary Yedidia f6dc983823 Optimization for buffer text
We no longer store a string representation of the buffer and instead
directly access it through the rope
2016-05-04 12:43:17 -04:00
Zachary Yedidia c163aaa895 Small fix to relocation 2016-05-04 07:24:33 -04:00
Zachary Yedidia 5e1a1ec003 Merge pull request #94 from aerth/line-jump
Add Ctrl+L jump to line #, JumpLine()
2016-05-04 07:22:10 -04:00
aerth 896ade2041
Add Ctrl+L jump to line #, JumpLine()
Converts input to integer
	Returns error if any
	Only jumps to possible lines
	Returns number of lines available
2016-05-04 07:48:28 -07:00
Zachary Yedidia 5aace36618 Update screenshot and status line 2016-05-03 18:54:01 -04:00
Zachary Yedidia cf2db5dfe7 Add R syntax file
Closes #91
2016-05-02 15:01:46 -04:00
Zachary Yedidia 07d8a08422 Use tcell's EventPaste to capture paste from the OS
This commit uses the recent commit to zyedidia/tcell to capture paste
events from the OS.

Fixes #60
Fixes #61
2016-05-02 11:16:03 -04:00
Zachary Yedidia 4ca6e65197 Default setting for tabsize should be float64 not int
Fixes #92
2016-05-02 07:23:08 -04:00
Zachary Yedidia 48a17a508d Use hash for savedText instead of full string 2016-05-01 19:07:54 -04:00
Zachary Yedidia efb4b5e899 Don't store buffer in text event 2016-05-01 16:45:23 -04:00
Zachary Yedidia 012668146c Remove unnecessary check for selection 2016-04-30 16:56:48 -04:00
Zachary Yedidia 539d4b1167 Fix differences between selection with keys and with mouse
Fixes #89
2016-04-30 16:51:21 -04:00
Zachary Yedidia 9ad2820e5e Change selection color in solarized colorscheme 2016-04-30 15:32:33 -04:00
Zachary Yedidia 92b135d8c6 Merge 2016-04-30 15:02:42 -04:00
Zachary Yedidia 56cdfcfe46 If a setting is not defined, use the default, not the zero value 2016-04-30 15:02:33 -04:00
Zachary Yedidia 4b72846efa Add bsd binaries to readme 2016-04-30 14:12:54 -04:00
Zachary Yedidia e0f20fbb55 Fix selection bugs 2016-04-30 14:06:00 -04:00
Zachary Yedidia c3598fd8bd Merge 2016-04-30 12:43:46 -04:00
Zachary Yedidia ebf91a7432 Constrain help text to 80 columns 2016-04-30 12:43:40 -04:00
Zachary Yedidia ac76df1484 Merge pull request #87 from aerth/bindings-help
Add json bindings to doc
2016-04-30 11:46:30 -04:00
Zachary Yedidia f6393dd835 Use a map for settings instead of a struct
Using a map for the settings means that plugins will be able to create
their own settings at runtime.
2016-04-30 11:39:48 -04:00
aerth 8936d8f675
Add json bindings to doc 2016-04-30 08:33:04 -07:00
Zachary Yedidia 19d2d20689 Update readme 2016-04-29 10:14:29 -04:00
Zachary Yedidia 5d6e299438 Merge 2016-04-28 21:00:50 -04:00
Zachary Yedidia 18b0b3e97d Add bindings for shiftup and shiftdown 2016-04-28 21:00:46 -04:00
Zachary Yedidia b6195721ac Update readme and help 2016-04-28 15:05:53 -04:00
Zachary Yedidia 536c96237c Merge branch 'gutter-messages' 2016-04-27 12:33:45 -04:00
Zachary Yedidia 53249c46f5 Support different types of gutter messages 2016-04-27 12:33:33 -04:00
Zachary Yedidia e1e441f588 Merge branch 'elementary-mouse' 2016-04-27 11:23:47 -04:00
Zachary Yedidia cf8de5e11d Simple support for gutter messages 2016-04-27 11:22:57 -04:00