Kevin Sawicki
79d220533d
Add oniguruma library to LIBS
2012-08-21 18:12:19 -07:00
Kevin Sawicki
fcd8e6396a
Compile require.coffee during install target
2012-08-21 17:53:59 -07:00
Kevin Sawicki
a9e130c867
Copy bundles folder in install target
2012-08-21 17:47:41 -07:00
Matt Graham
e4732b0463
Update README.md
...
Updated curl https://npmjs.org/install.sh | sh link
2012-08-16 13:33:51 -07:00
Corey Johnson & Nathan Sobo
60a4af4653
HACK: Git deletes files only to create them again later. This is the cheap way of dealing with that
2012-08-10 09:22:41 -07:00
Nathan Sobo
847b514164
Merge branch 'textmate'
...
Conflicts:
benchmark/benchmark-helper.coffee
benchmark/benchmark-suite.coffee
src/app/language-mode.coffee
2012-08-09 18:57:59 -06:00
Corey Johnson & Nathan Sobo
e280722d09
Make coffeeScript indentation regex more specific
2012-08-09 17:28:02 -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
92be14d9fa
Snippets are not auto-indented when they are inserted.
2012-08-09 16:21:04 -07:00
Corey Johnson
65d40557ff
InsertText takes an option to turn autoIndent off
2012-08-09 16:20:45 -07:00
Corey Johnson
cd8e6a7f20
Don't auto-indent ff a grammar doesn't have an indent/outdent regex
2012-08-09 16:04:23 -07:00
Corey Johnson
956cffe225
Add temp styling for folds
2012-08-09 15:18:37 -07:00
Corey Johnson
7477511a9f
Create empty token on empty lines
2012-08-09 15:17:46 -07:00
Corey Johnson
c1bd922d89
💄
2012-08-09 15:17:01 -07:00
Corey Johnson
634bebd207
Toggling comments adjusts selection's start and end columns
2012-08-09 14:38:16 -07:00
Corey Johnson
34934d58f9
previousNonBlankRow returns null if passed row 0
2012-08-09 14:19:12 -07:00
Corey Johnson
9e53751717
Revert "Add setTextInBufferRange to edit session"
...
This reverts commit ea86ec401b .
2012-08-09 13:25:53 -07:00
Corey Johnson
cc5ee48470
Auto-outdent lines correctly
2012-08-09 13:10:37 -07:00
Corey Johnson & Nathan Sobo
e8aaec43f7
WIP: Reworking auto-indent/outdent logic
2012-08-09 12:57:47 -06:00
Corey Johnson & Nathan Sobo
ad4b3db439
Add OnigRegExp.test
2012-08-09 12:57:20 -06:00
Corey Johnson
9b0a00a478
Remove Ace from vendor directory.
...
Adieu, adieu, parting is such sweet sorrow.
2012-08-09 10:52:40 -07:00
Corey Johnson
fae452770b
Language mode no longer uses Ace for anything
2012-08-09 10:49:54 -07:00
Corey Johnson
19511fe8b8
Selections are restored to their original ranges after toggling comments.
2012-08-09 10:46:54 -07:00
Corey Johnson
c95ca04340
Use TextMate to toggle comments
2012-08-09 10:33:46 -07:00
Corey Johnson
92d706b52b
Add class method lineCOmmentStringForScope to TextMateBundle
2012-08-09 10:33:31 -07:00
Corey Johnson
ea86ec401b
Add setTextInBufferRange to edit session
2012-08-09 10:33:25 -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
4109669284
Bold and italic fonts hose our width calculations
2012-08-08 22:31:33 -06:00
Nathan Sobo
3da19cd93b
WIP: Style in a manner compatible w/ TextMate themes
2012-08-08 22:17:00 -06:00
Corey Johnson & Nathan Sobo
fa65510287
Use IR_Black as the default color scheme
2012-08-08 17:50:53 -07:00
Corey Johnson & Nathan Sobo
7fe6a05594
Folding no longer relies on Ace.
...
Indentation is used to determine foldable regions, if the last line matches TextMate's foldEndRegex it is included in the foldable region.
2012-08-08 17:42:11 -07:00
Corey Johnson & Nathan Sobo
926a44fba8
Remove unused code
2012-08-08 17:42:11 -07:00
Corey Johnson & Nathan Sobo
c7586a0e97
Rename matchingCharachters to pairedCharachters
2012-08-08 17:42:10 -07: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
Nathan Sobo
2df05e235a
Break out window.applyStylesheet from window.requireStylesheet
...
This will be useful in applying generated stylesheets associated with themes.
2012-08-08 16:09:23 -06:00
Corey Johnson & Nathan Sobo
3376dead06
fix broken spec
2012-08-08 14:54:11 -07:00
Corey Johnson & Nathan Sobo
8563b47dfd
Merge branch 'textmate' of github.com:github/atom into textmate
2012-08-08 15:52:27 -06:00
Corey Johnson & Nathan Sobo
a8c19b1692
Fix OnigRegExp spec
2012-08-08 14:52:14 -07:00
Corey Johnson & Nathan Sobo
2945576cb7
Include themes directory in bundle
2012-08-08 14:14:20 -07:00
Corey Johnson & Nathan Sobo
221135a290
Fix broken benchmark
2012-08-08 13:19:28 -06:00
Corey Johnson & Nathan Sobo
2a945838f5
Return absolute minimum capture data from OnigRegExp
2012-08-08 12:13:54 -07:00
Corey Johnson & Nathan Sobo
93f21207ab
Un-f benchmark suite
2012-08-08 11:05:01 -06:00
Corey Johnson & Nathan Sobo
472e5348e2
Update TextMateGrammar to use optimized array-based capture trees
2012-08-08 11:04:36 -06:00
Corey Johnson & Nathan Sobo
fd295faa44
OnigRegExp.getCaptureTree only returns capture tree (no capture text)
2012-08-08 11:04:13 -06:00
Corey Johnson & Nathan Sobo
e0516def80
Prioritize getCaptureTree in conditionals for tiny drops of speed
2012-08-08 10:16:36 -06:00
Nathan Sobo
f1438f2806
Optimization: Return only arrays from getCaptureTree
...
Creating objects and setting key-value pairs is more expensive than creating arrays with numeric indices. So this squeezes a bit more performance.
2012-08-08 09:57:42 -06:00
Nathan Sobo
c6c4d6413e
Optimization attempt: Captures contain start/end position instead of text
2012-08-08 09:11:32 -06:00
Nathan Sobo
f559ad73a7
Make grammar handle lines that don't match *any* of the current rule's patterns
...
It's possible to get a match based on a lookahead, but not actually have any non-empty capture groups. This should be considered a failed match.
2012-08-08 08:59:13 -06:00
Corey Johnson & Nathan Sobo
827b3e29d3
Implement OnigRegExp.getCaptureTree natively
2012-08-07 16:20:02 -07:00