Commit Graph

2374 Commits

Author SHA1 Message Date
Garen Torikian
662ddf9fd6 Update documentation to push threshold back past 80% 2013-05-01 17:21:05 -07:00
Garen Torikian
f47eea1e6c 💄 2013-05-01 17:03:12 -07:00
Garen Torikian
5a944514f3 Rewrite all hash key options 2013-05-01 17:01:55 -07:00
Garen Torikian
fb955667f5 Resolve references to Internal 2013-05-01 17:01:55 -07:00
Garen Torikian
31aaa23b20 Update tokenizedbuffers 2013-05-01 17:01:55 -07:00
Garen Torikian
4d239b46e2 Update textmatescopeselector 2013-05-01 17:01:55 -07:00
Garen Torikian
856b07197a Update textbuffer 2013-05-01 17:01:55 -07:00
Garen Torikian
d07751605a Update textbuffer 2013-05-01 17:01:55 -07:00
Garen Torikian
ddb09e98e8 Update selection 2013-05-01 17:01:55 -07:00
Garen Torikian
75b40f603a Update screen-line 2013-05-01 17:01:55 -07:00
Garen Torikian
5c21d71461 Update root-view 2013-05-01 17:01:54 -07:00
Garen Torikian
6c5f310cba Update range 2013-05-01 17:01:54 -07:00
Garen Torikian
909a951ff0 Update project 2013-05-01 17:01:54 -07:00
Garen Torikian
51a07bdb31 Update point 2013-05-01 17:01:54 -07:00
Garen Torikian
3dcdf0863e Update line-map 2013-05-01 17:01:54 -07:00
Garen Torikian
46b5731ac4 Update line-map 2013-05-01 17:01:54 -07:00
Garen Torikian
9be438d2f7 Update language-mode 2013-05-01 17:01:54 -07:00
Garen Torikian
bb8f4fb092 Update image-view 2013-05-01 17:01:54 -07:00
Garen Torikian
7b65a68450 Update image-edit-session 2013-05-01 17:01:54 -07:00
Garen Torikian
7e6eecc6cf Update gutter 2013-05-01 17:01:54 -07:00
Garen Torikian
9d709ea152 Update git 2013-05-01 17:01:54 -07:00
Garen Torikian
eadb3cf98c Update fold 2013-05-01 17:01:54 -07:00
Garen Torikian
09e9c2f224 Update file 2013-05-01 17:01:53 -07:00
Garen Torikian
dbae05605b Update eventemitter 2013-05-01 17:01:53 -07:00
Garen Torikian
3c5b721177 Update Editor 2013-05-01 17:01:53 -07:00
Garen Torikian
b0e4ce7bb8 Update EditSession 2013-05-01 17:01:53 -07:00
Garen Torikian
2bf7adef5c A slight modification to EditSession 2013-05-01 17:01:53 -07:00
Garen Torikian
34fb03fbd3 Update DisplayBuffer 2013-05-01 17:01:53 -07:00
Garen Torikian
a8a28fea18 Update DisplayBufferMarker 2013-05-01 17:01:53 -07:00
Garen Torikian
16cef29925 Update directory 2013-05-01 17:01:53 -07:00
Garen Torikian
26564ee020 Update cursor 2013-05-01 17:01:53 -07:00
Garen Torikian
66a80ade30 Update config 2013-05-01 17:01:53 -07:00
Garen Torikian
685ec5d8d7 Update buffer-marker docs 2013-05-01 16:58:43 -07:00
Garen Torikian
2357f46761 Fix block comments in src 2013-05-01 16:58:43 -07:00
probablycorey
0be166bb59 Remove the bottomPaddingInLines from editor 2013-05-01 13:54:37 -07:00
probablycorey
cb2d24baca Listen for clicks outside of the render lines on the underlayer 2013-05-01 13:54:37 -07:00
probablycorey
7609b08e86 💄 2013-05-01 13:54:37 -07:00
Kevin Sawicki
78d8485243 Allow config window to be closed with meta-W
window.confirmClose() should close the window immediately when
there is no rootView which is the case in the config window.
2013-05-01 08:02:17 -07:00
Kevin Sawicki
c3232a463c Use ems instead of pixels for config editor widths
This allows the editor to be big enough to still show
multiple characters in large font sizes.
2013-05-01 07:58:12 -07:00
Kevin Sawicki
536beb0d40 Support setting number fields to 0
Previously entering 0 would end up as '0' in the config
value instead of as a numeric value.
2013-04-30 23:10:22 -07:00
Kevin Sawicki
986e5f9c7a Default to 80 when editor.preferredLineLength <= 0
Previously any non-null value would be used as the target
column in the wrap guide and autoflow packages when really
80 should have been used if the value was non-postive.

Now config.getPositiveInt() is called with a default value
of 80 if the current value isn't already positive.
2013-04-30 22:37:02 -07:00
Kevin Sawicki
f417e898f6 Only call save on active item when it exists
Closes #529
2013-04-30 22:02:46 -07:00
Kevin Sawicki
047d9525e7 Ignore first modified event in config editor
This event comes from initially setting the text for the current
config value on the editor and was causing the config to be
immediately saved multiple times when opened.
2013-04-30 21:55:43 -07:00
Kevin Sawicki
ca7da8a0da Don't set un-parseable numbers to 0 in the config
Previously if an integer or float field was empty it would
default to zero instead of undefined which made it inconsistent
with string value fields.

Now the config value is only set as a Number when it can be
parsed as one.
2013-04-30 21:36:27 -07:00
Kevin Sawicki
a788006d7c Default editor.preferredLineLength config to 80 2013-04-30 15:03:46 -07:00
probablycorey
af5392b8ac Add extra padding to the bottom of an editor's vertical scrollbar
This gives us some space when we scroll to the bottom of a file.
Similar to how MacVim works when using the mouse.

Closes #464
2013-04-30 11:52:28 -07:00
Corey Johnson
35b0e06260 💄 2013-04-30 11:52:28 -07:00
Corey Johnson
9180060920 Revert "Listen for mouse events on scrollView instead of renderedLines"
You can't listen on scroll view because that makes
it impossible to scroll using the scrollbar

Opens #464

This reverts commit fdae5fd89c.
2013-04-29 15:07:38 -07:00
Corey Johnson
fdae5fd89c Listen for mouse events on scrollView instead of renderedLines
It was not possible to click on the lower part of the last line
when the editor was scrollable and listening for mousedown events on renderedLines.

Closes #464
2013-04-29 14:59:23 -07:00
Corey Johnson & Kevin Sawicki
0d8a6782b3 Stop tokenizing line when the same rule is pushed more than once
Previously Rails classes would infinitly loop if the Ruby on Rails
grammar was loaded but the Ruby grammar had not been. This occurred
because a rule was continually pushing itself on the stack but never
advancing.

Now if the position does not advance and the last two rules in the
stack have the same scope the last rule is popped and the entire line
is tokenized with the current scopes.

Closes #524 #486
2013-04-29 12:10:40 -07:00