Commit Graph

66 Commits

Author SHA1 Message Date
Nathan Sobo
601cf41108 Fix bug where file-finder pushed editor up.
For now, I'm removing the flexbox treatment of #app-vertical because the file finder just needs to overlay the bottom and absolute positioning is simpler. I'm also using requireStylesheet to load the file finders CSS instead of a link tag.
2012-03-14 18:28:23 -06:00
Nathan Sobo
f02244412f Disable scrolling on the horizontal scroller when soft wrap is on. 2012-03-13 12:13:47 -06:00
Nathan Sobo
6d303aad18 Add a horizontal-scroller to address selection issues when scrolled right
The lines element is now display: table and contained inside of the
scroller. This means the lines element always expands to contain all
lines, which allows absolute positioning inside of it to be relative to
the entire scroll contents, not just to the currently visible area.
2012-03-08 11:23:05 -07:00
Corey Johnson
3a6b3e6650 💄 2012-03-07 11:42:39 -08:00
Corey Johnson
29c697faaa Disable auto-scroll and make overflow-x hidden when soft-wrap is enabled 2012-03-07 11:29:33 -08:00
Corey Johnson & Nathan Sobo
696948cc9b Gutter is renders line numbers when buffer is assigned. 2012-03-02 16:13:29 -08:00
Corey Johnson & Nathan Sobo
b3c4fd5cce Add a nonfunctional gutter to editor layout. 2012-03-02 15:42:04 -08:00
Corey Johnson & Nathan Sobo
ebca007ca4 Merge branch 'chrome' 2012-03-01 16:24:01 -08:00
Nathan Sobo
cf44dc7f16 Make fold placeholder exactly 3 characters wide. 2012-03-01 16:50:15 -07:00
Corey Johnson & Nathan Sobo
03bc1f38a1 💩 2012-02-29 15:26:55 -08:00
Corey Johnson & Nathan Sobo
7e6132f5b7 Redo Xcode project FROM SCRATCH 2012-02-29 15:23:17 -08:00
Corey Johnson & Nathan Sobo
b37b45b4b1 atom variable holds all global state and is shared across contexts. 2012-02-28 13:14:35 -08:00
Nathan Sobo
65c7a6126e Style the fold placeholder. 2012-02-28 12:27:35 -07:00
Corey Johnson
e0132b84ca Make the cursor a block in command mode 2012-02-03 13:58:48 -08:00
Corey Johnson
fecfc85f8f Turn off text selection in webkit 2012-02-03 13:46:03 -08:00
Corey Johnson & Nathan Sobo
c92397d55f 💄 2012-02-02 17:25:29 -07:00
Nathan Sobo
00bc17baf0 WIP: Add theme/twilight.css.
Lines aren't being updated properly quite yet, and the stylesheet needs
more tweaking, but colors are there when you load a file.
2012-02-02 12:47:35 -07:00
Nathan Sobo
9a639043ca Use default cursor in editor.
This prevents it from sporadically switching to the text insertion
cursor when hovering over lines.
2012-01-28 15:59:38 -08:00
Nathan Sobo
e0c66c5caf Fix horizontal scrolling oddness
Giving the hidden text area a fixed position was confusing webkit and
making scroll behavior really odd. Using position: absolute and setting
the z-index so it's behind the editor seems to make scrolling behave
more normally.
2012-01-27 19:12:42 -08:00
Corey Johnson & Nathan Sobo
dea99216d4 Cursor blinks 2012-01-27 17:33:02 -08:00
Nathan Sobo
3987fb78b7 Style selection regions more attractively. 2012-01-26 18:56:42 -08:00
Nathan Sobo
6bf82a27c9 Selections render themselves on screen (1 div per line)
Still a lot of details to cover, but basic selection creation is
working.
2012-01-26 18:54:18 -08:00
Corey Johnson & Nathan Sobo
6af33c3337 Editor directs focus to a hidden input element.
Now we'll be able to listen for textInput events, which give us better
information about what character is being entered in the presence of
multi-keystroke compositions like alt-u,u for ü
2012-01-24 15:27:05 -08:00
Nathan Sobo
18f09aad9e 💄 2012-01-24 14:21:43 -08:00
Corey Johnson & Nathan Sobo
c0e49a3e6c Css uses correct path 2012-01-23 17:30:55 -08:00
Corey Johnson & Nathan Sobo
1a52890d19 Cursor scrolls editor as it moves 2012-01-23 16:45:00 -08:00
Nathan Sobo
5198a88cce Half-baked: Have a lines reasonably looking cursor working.
A bunch of tests are failing but you can load a buffer and display its
lines.
2012-01-16 22:11:38 -08:00
Nathan Sobo
7d7b119927 WIP 2012-01-16 19:23:27 -08:00
Nathan Sobo
07a51fb310 Displaying lines and a basic cursor 2012-01-16 17:17:36 -08:00
Corey Johnson & Nathan Sobo
e6053a2d66 FileFinder only returns up to maxResults 2011-12-30 11:37:11 -08:00
Corey Johnson & Nathan Sobo
98458806ea Add moveUp and moveDown to FileFinder 2011-12-29 16:43:22 -08:00
Corey Johnson & Nathan Sobo
d181ce1885 Add css to make FileFinder more usable. 2011-12-28 15:42:18 -08:00
Corey Johnson & Nathan Sobo
c6d90748f7 Meta-t adds file finder to bottom of layout. 2011-12-28 16:30:08 -06:00
Corey Johnson
d0ed5992ca 'meta-o' presents open dialog. 2011-12-20 10:41:31 -08:00
Corey Johnson
fbb3efacf4 wii - gettings specs on App.open. Window closing not working quite right. 2011-12-14 16:24:30 -08:00
Corey Johnson & Nathan Sobo
0dd6df1ab6 Empty test suite runs when you hit ctr-alt-cmd-s 2011-12-12 15:05:59 -08:00
Chris Wanstrath
ba8702fc75 vendor bootstrap css 2011-11-26 00:54:17 -08:00
Corey Johnson
82f11c86f2 !important Ewwwwww. 2011-11-14 16:14:30 -08:00
Corey Johnson
6e1cee2e88 Getting panes ready for split viewing. 2011-11-14 16:14:30 -08:00
Chris Wanstrath
0ed9115e04 linen 2 2011-11-12 21:57:02 -08:00
Chris Wanstrath
f2353c0841 linen 2011-11-12 20:50:51 -08:00
Chris Wanstrath
8dd064c68d try something more friendly 2011-11-12 01:18:09 -08:00
Chris Wanstrath
7f8dffa6e0 no more keybindings in static/ 2011-11-10 00:55:15 -08:00
Chris Wanstrath
11019faa30 now that keymaps are based on class, they can be inherited 2011-11-10 00:54:34 -08:00
Chris Wanstrath
d0f47c0d58 atom.css 2011-11-09 20:19:54 -08:00
Chris Wanstrath
8b0ae92d79 cmd-shift-I 2011-11-09 14:30:45 -08:00
Chris Wanstrath
d94f251309 not using static/editor.html anymore 2011-11-06 15:08:59 -08:00
Corey Johnson
9a596734ff editor is more editorish 2011-11-02 15:22:52 -07:00
Corey Johnson
9e21d8da04 Dirty and window title added back. Dirty close prompts user. 2011-11-01 16:07:20 -07:00
Corey Johnson
912654cddf opening paths and multiple windows is working! 2011-10-31 16:14:43 -07:00