Commit Graph

194 Commits

Author SHA1 Message Date
Nathan Sobo
dc4d981e2a Fix selector that prohibits weird characters from making lines extra-tall
Now that selectors can nest, this needed to be more permissive
2012-09-28 16:43:41 -06:00
Kevin Sawicki
02fa815459 Highlight the line number of the current cursor row 2012-09-28 09:52:34 -07:00
Kevin Sawicki
758812bd2b Add hover color that is the same as the selected color 2012-09-27 13:46:31 -07:00
Kevin Sawicki
d8011fe853 Add initial markdown preview extension
Uses the GitHub Markdown API to render the current
editor contents for .md and .markdown files.
2012-09-27 13:07:22 -07:00
Kevin Sawicki
71a3842c12 Disable text selection in fuzzy finder list
Mirror the style in the tree view where the
cursor indicates text selection is not possible
2012-09-27 13:07:22 -07:00
Nathan Sobo
5f253d78e9 Optimization: Use absolute positioning instead of flexbox in editor
Flexbox was causing layouts and repaints to cover the entire scroll view instead of just the edited line. This cuts down on DOM manipulation cost significantly.
2012-09-25 14:58:31 -06:00
Nathan Sobo
d3df0a305b Use <pre> tag for lines instead of using white-space: pre css property
One less CSS rule, since the whitespace behavior of a `pre` tag is already baked into the browser's default styles.
2012-09-25 13:09:12 -06:00
Nathan Sobo
e8e9abc0b8 Universal selectors degrade performance, and I can't figure what this did 2012-09-25 12:51:22 -06:00
Corey Johnson
1168404d6d Merge remote-tracking branch 'origin/master' into making-things-easy 2012-09-19 16:12:46 -07:00
Kevin Sawicki
e9abf1e3b9 Add wrap guide extension
Initially places a vertical line in each editor
at 80 characters.
2012-09-19 11:28:20 -07:00
Corey Johnson
3026c7767b Add doctype to index.html and css styles to make html take up 100% of the screen. 2012-09-11 08:45:47 -07:00
Corey Johnson
ad9b204b0a Adding the doctype tag makes the HTML layout strangely 2012-09-11 08:43:50 -07:00
Corey Johnson & Nathan Sobo
85c37fd652 Move atom.resourcePath to window.resourcePath
The resourcePath is now set using a url param. Because resourcePath is needed by require.js, it needs to be on `window` rather than `atom`.
2012-09-10 17:22:21 -07:00
Corey Johnson & Nathan Sobo
27335661dc WIP: Getting specs and benchmarks running from the command line 2012-08-30 18:10:05 -06:00
Corey Johnson & Nathan Sobo
44db540528 All specs pass 2012-08-30 17:12:52 -06:00
Nathan Sobo
3cc2faf7c2 Add atom.showDevTools and replace calls to $native.showDevTools 2012-08-30 11:24:01 -06:00
Corey Johnson
6f99b61dd3 Now storing a window's state based on its rootDirectory (instead of on windowNumber) 2012-08-29 10:59:45 -07:00
Nathan Sobo
76b8f42bb7 Add atom extension, which implements atom.open
We send a message from the render process to the browser process indicating which path to open. Also start introducing a `v8_extensions::` namespace to contain the extensions.
2012-08-28 11:08:50 -05:00
Corey Johnson & Nathan Sobo
d20ba7171a Assign $windowNumber in index.html 2012-08-27 17:09:53 -07:00
Corey Johnson & Nathan Sobo
12b06ddf0c Get spec suite running (lots of failures) 2012-08-27 17:36:36 -05:00
Corey Johnson & Nathan Sobo
f84f9c5dd2 Add bundles and themes 2012-08-27 13:20:22 -07:00
Corey Johnson & Nathan Sobo
7adc7a8c7e Pass pathToOpen as a query param when opening window 2012-08-27 13:19:12 -07:00
Nathan Sobo
c3e748a17c WIP: Use rake to start compiling resources (like require.coffee) 2012-08-26 16:29:46 -05:00
Nathan Sobo
72468b7028 Pass the bootstrap script as a query parameter of the initial url string 2012-08-26 16:10:11 -05:00
Corey Johnson
ccfc15d132 Dev tools working 2012-08-23 12:38:52 -07:00
Corey Johnson
e15897afec trying to get devtools to work 2012-08-22 15:29:39 -07:00
Corey Johnson
1f2453e98c Atom is getting closer... 2012-08-21 17:22:43 -07:00
Nathan Sobo
c2c8724ad0 Initial commit 2012-08-10 13:32:19 -06:00
Nathan Sobo
1996ba5558 Merge branch 'master' of github.com:github/atom 2012-08-27 11:02:39 -05:00
Corey Johnson
08ae611ff8 add fold selected state 2012-08-22 17:48:00 -07:00
Kevin Sawicki
56f46c548f Decrease scrollbar size to 8 pixels 2012-08-22 13:43:46 -07:00
Kevin Sawicki
f778345b3a Add support for requiring a platform-specific stylesheet
Add a getPlatform method to the native object that
is used for requiring the platform stylesheet from
within window.coffee after the atom.css is required.

This is used to provide non-native scrollbars on Linux
for an improved look and feel.
2012-08-22 13:43:46 -07:00
Nathan Sobo
85b6cc3cf5 Make cursor a bit transparent when editor is not focused 2012-08-15 14:54:20 -07:00
Corey Johnson & Nathan Sobo
16b453e2e5 Remove z-index on .lines and .line-number
This was causing AutoComplete to be shown UNDER the lines
2012-08-09 17:22:44 -07:00
Corey Johnson
956cffe225 Add temp styling for folds 2012-08-09 15:18:37 -07:00
Nathan Sobo
34cac4336b Order selection regions behind editor's text
The key here is to force editor's overall z-index to be 0 in order to establish a *local stacking context*. Then we can put the lines at z-index 1 and the selection at z-index -1  within that context without them overlapping elements outside of the editor.
2012-08-08 22:35:57 -06:00
Nathan Sobo
3da19cd93b WIP: Style in a manner compatible w/ TextMate themes 2012-08-08 22:17:00 -06:00
Nathan Sobo
8c5e77d325 Move theme activation to RootView 2012-08-08 17:04:54 -06:00
Nathan Sobo
c8154e4e8c Use Twilight theme stylesheet based on TextMateTheme 2012-08-08 16:55:34 -06:00
Corey Johnson & Nathan Sobo
430fc0eff1 Put a bit more space between editor lines 2012-08-01 17:16:15 -06:00
Nathan Sobo
6de055aa1c Lines aren't taller when they contain an Inconsolata em dash (–) character 2012-08-01 17:04:33 -06:00
Corey Johnson
0c15b0f7be Remove width 100% from .commandPanel (it was not needed and now command panels border is consistent) 2012-07-26 10:19:13 -07:00
Nathan Sobo
454557b502 Merge branch 'master' into global-find
Conflicts:
	spec/extensions/command-panel-spec.coffee
	src/app/buffer.coffee
	src/extensions/command-panel/command-panel.coffee
	src/extensions/command-panel/keymap.coffee
2012-07-24 17:59:49 -06:00
Nathan Sobo
5ebcabb813 Fix preview list cursor styling 2012-07-23 20:14:15 -06:00
Nathan Sobo
07cd01571e Apply some more styling, for better or worse :-) 2012-07-23 20:02:32 -06:00
Nathan Sobo
8f0c8633f8 Move-up / move-down on command panel change the selected operation 2012-07-23 15:01:03 -06:00
Corey Johnson & Nathan Sobo
cc292b604d Select preview item when preview list is shown 2012-07-20 14:19:19 -07:00
Corey Johnson
52d60df272 Stylize command panel preview 2012-07-18 09:22:32 -07:00
Corey Johnson
a5032e3811 PreviewItem displays matched text 2012-07-17 20:12:57 -07:00
Corey Johnson & Nathan Sobo
faea4aedcc Show preview list when X x operation completes 2012-07-17 18:39:29 -06:00