Kevin Sawicki
d322f9a5fa
Add exports folder to NODE_PATH
...
This is where all public classes will be exported through
2013-09-20 10:02:18 -07:00
probablycorey
924bad6e53
Remove keybindings for commands that mini editors don't use
2013-09-19 14:44:12 -07:00
probablycorey
82de7009d5
Allow for case insensitive project.scan searches
2013-09-18 14:41:38 -07:00
Cheng Zhao
e509e23a0f
Merge pull request #852 from atom/ime-support
...
Improve IME support
2013-09-17 23:09:18 -07:00
Kevin Sawicki
f5c5ca0a55
Hide window immediately when closing
...
Previously the body element would be hidden causing a white flash
before the window was closed.
Now the window is hidden during beforeunload unless it is in the middle
of a restart.
2013-09-17 11:00:58 -07:00
Cheng Zhao
faffc09f7a
Merge pull request #844 from atom/custom-resource-loader
...
Add custom resource loader, fixes #197
2013-09-16 18:44:21 -07:00
Kevin Sawicki
3fee026d04
Don't load keymaps, grammars, or properties for themes
...
Theme packages are just stylesheets and previously all themes had
their stylesheets loaded even when there weren't being used.
2013-09-16 18:38:46 -07:00
Kevin Sawicki
74e8614653
💄 Use theme as variable name instead of t
2013-09-16 18:34:59 -07:00
Ben Ogle
b1bd387aee
Remove parens
2013-09-16 18:09:45 -07:00
Ben Ogle
1ba04cb58a
Reverse the loading order of themes.
...
We want the first/top-most theme's css to be loaded after the others
so its styles will override styles in the other themes.
2013-09-16 18:09:01 -07:00
Kevin Sawicki
46b0c8087e
Remove bootstrap from LESS search path
2013-09-16 16:32:21 -07:00
Kevin Sawicki
9ea1ad7ce9
Use resolvable path to bootstrap stylesheet
2013-09-16 16:31:51 -07:00
Kevin Sawicki
bb479f47d9
Put vendor/bootstrap/less instead of vendor/ on less search path
2013-09-16 16:16:05 -07:00
Kevin Sawicki
02f0bfb0e0
💄
2013-09-16 15:05:54 -07:00
Kevin Sawicki
0d8411dbbb
Prebuild LESS cache for common theme configurations
2013-09-16 14:58:25 -07:00
Kevin Sawicki
c8fc7b8400
Delete less cache from partial-clean task
2013-09-16 14:40:39 -07:00
Kevin Sawicki
ad381087dd
Cache compiled LESS files
2013-09-16 14:40:39 -07:00
Matt Colyer
134510dfe1
Move old Theme specs and apply them to AtomPackage.
2013-09-16 12:15:09 -07:00
Kevin Sawicki
a234ed96bd
Remove themes paths from config
...
Themes are now co-located with packages
2013-09-16 08:34:03 -07:00
Cheng Zhao
486de96751
Make accented character suggestion work for multiple cursors.
2013-09-16 18:05:44 +08:00
Cheng Zhao
80244a1ae7
Work around of the accented character suggestion feature in OS X.
...
On OS X, press and hold `c` could show an accent menu to replace `c` with
accented ones like `ć`, there is no corresponding events in W3C, so we
detected it by checking whether the text in input box are selected (this
is how Chrome implemented this feature).
And also note that IME inputs were handled the same way in Chrome, the
compostion text would be marked as selected and got replaced with final
inputs. However the compostion text won't trigger textInput event, so
it's distinguished by checking whether the hiddenInput's value are
changed by Chrome.
Fixes atom/atom-shell#50 .
2013-09-16 15:54:25 +08:00
Cheng Zhao
54e25677b6
Restore previous selected text after IME composition is done.
2013-09-16 10:44:15 +08:00
Cheng Zhao
f4e3f7a055
Skip the undo stack when changing composition text.
2013-09-16 10:43:34 +08:00
Cheng Zhao
dee9cce2e3
Select the text while inserting.
2013-09-14 20:20:45 +08:00
Cheng Zhao
a92a65929a
Make hiddentInput bigger when inputing with IME.
...
Some IME's input bubble would have strange behavior when they thought
the target input box is small.
2013-09-14 20:10:36 +08:00
Cheng Zhao
c9d4c761bb
Show IME's composition text on screen.
...
The composition text should only show on screen temporarily and gets
disappered when input is cancelled or done. We simply mark the
composition as selected, so it can not only indicate this is composition
text instead of normal text, but also updates the composition without
adding new interfaces.
2013-09-14 19:52:39 +08:00
Cheng Zhao
0c839f419a
Move hidden input to the same position with cursor view.
...
This is required to make IME's input bubble follow the cursor.
2013-09-14 18:22:34 +08:00
Cheng Zhao
1b4be18dd7
Add ~/.atom/packages to the resource load path.
2013-09-14 11:07:00 +08:00
Cheng Zhao
656793108c
Add the "atom://" custom protocol handler.
2013-09-14 11:04:15 +08:00
Matt Colyer
c413f024f2
Make the build green
2013-09-13 16:21:26 -07:00
Matt Colyer
a4fd23b645
Remove unused Theme class
2013-09-13 13:50:25 -07:00
Matt Colyer
1361ec6ec1
Ensure that theme styles are applied after packages
2013-09-13 12:13:32 -07:00
Matt Colyer
708c760c6c
Implement index.less/css fallback for themes
2013-09-13 12:13:32 -07:00
Matt Colyer
b1675714e6
Load themes after packages, since we depend on them
2013-09-13 12:13:32 -07:00
Matt Colyer
a4dedeb92d
Use packages to load themes
2013-09-13 12:13:32 -07:00
Matt Colyer
7c84f38410
Be more defensive about parsing line numbers
2013-09-13 11:42:31 -07:00
Matt Colyer
9a64b2775d
💄
2013-09-13 11:42:31 -07:00
Matt Colyer
3dd6e97ca1
Correct documentation
2013-09-13 11:42:31 -07:00
Matt Colyer
4b90ba06ff
Add a small note about where ipc 'open'.
2013-09-13 11:42:31 -07:00
Matt Colyer
e8838e3bd0
Handle file paths that contain line numbers
2013-09-13 11:42:31 -07:00
Ben Ogle
448064b1cb
Only attach the mousewheel handler on regular editors
2013-09-13 11:05:33 -07:00
Corey Johnson
2152004883
Use the ACTUAL spec directory instead of the specs parent
2013-09-13 09:01:22 -07:00
Corey Johnson
e64119ade2
Rename specPath loadSetting to specDirectory
2013-09-13 09:01:22 -07:00
Ben Ogle
5b362a5a34
AtomPackages emit events
2013-09-12 14:02:55 -07:00
Ben Ogle
48f01c66e2
Change Theme load verbiage to activate
...
This is to be more consistent with packages.
2013-09-12 14:02:54 -07:00
Ben Ogle
28d48f983e
Use _.contains() rather than indexOf()
2013-09-12 14:02:54 -07:00
Ben Ogle
ce35a1d380
Remove duplicate of Theme creation
2013-09-12 14:02:54 -07:00
Ben Ogle
c831898781
getLoadedStylesheetPaths -> getStylesheetPaths
...
To be consistent with Packages
2013-09-12 14:02:54 -07:00
Ben Ogle
f3aa8f1024
💄 Long line -> multiple lines
2013-09-12 14:02:54 -07:00
Ben Ogle
69f28855f1
💄 Reorder functions in Theme
2013-09-12 14:02:54 -07:00