Commit Graph

7230 Commits

Author SHA1 Message Date
Nathan Sobo
0d78098dbf Make TokenizedBuffer select its own grammar, not LanguageMode
This is part of an effort to disentangle LanguageMode, DisplayBuffer,
and TokenizedBuffer. It should be easy to create a DisplayBuffer
without creating an EditSession… let's get the dependencies flowing
in a single direction.
2013-04-25 15:13:00 -06:00
Nathan Sobo
ee31114b32 💄 whitespace 2013-04-25 14:06:53 -06:00
Nathan Sobo
0f623b3d08 Move structural folding logic to LanguageMode
DisplayBuffer should just focus on providing basic support for folding.
Scanning the structure of the code, looking at scopes, etc is more the
domain of the LanguageMode object.
2013-04-25 14:06:53 -06:00
Nathan Sobo
1ac55413d9 Define class properties with :, not = 2013-04-25 14:06:53 -06:00
Nathan Sobo
60f945aafd Move structural folding specs to edit-session-spec
Structural folding should really be handled at the edit session level
so that the DisplayBuffer doesn't need access to the LanguageMode. It
should only be concerned with the raw ability to create folds.
2013-04-25 14:06:53 -06:00
Nathan Sobo
ca3b0c97da 💄 getter renames 2013-04-25 14:06:52 -06:00
Kevin Sawicki
c50b7fd99e 💄 2013-04-25 11:27:59 -07:00
Kevin Sawicki
d69a32d551 Mention invisibles bug 2013-04-25 10:10:00 -07:00
Kevin Sawicki
875555d933 Rename invisible class to invisible-character
Bootstrap defines this class with visibility: hidden
which we don't want since invisible characters should
be visible.
2013-04-25 10:02:33 -07:00
Kevin Sawicki
faaaa538a9 Enable git-diffs by default 2013-04-25 09:36:26 -07:00
Kevin Sawicki
00cb0bb8d9 Don't require SpellChecker module until correction command is triggered 2013-04-25 09:33:11 -07:00
Kevin Sawicki
59c02c90da Include comma as a word boundary 2013-04-25 09:18:43 -07:00
Kevin Sawicki
2302baa4f3 Include colon as a word boundary 2013-04-25 09:17:40 -07:00
Kevin Sawicki
443056ef5c Mention faster startup time 2013-04-24 22:10:57 -07:00
Kevin Sawicki
6b0a466596 Mention newly included bundles 2013-04-24 22:00:01 -07:00
Kevin Sawicki
d6eb1aba75 Mention hyperlink opening 2013-04-24 21:51:20 -07:00
Kevin Sawicki
c1769c3de1 Get this changelog started 2013-04-24 21:48:59 -07:00
Kevin Sawicki
d37605766d Remove testing block 2013-04-24 18:08:27 -07:00
Kevin Sawicki
763c59764f Include css grammar in fenced block 2013-04-24 18:06:27 -07:00
Kevin Sawicki
ec54330096 Add language name to fenced scopes 2013-04-24 18:03:35 -07:00
Kevin Sawicki
ac225731d5 Remove testing block 2013-04-24 18:01:04 -07:00
Kevin Sawicki
2803da2f8b Replace offsUtilscreen with offscreen 2013-04-24 17:59:50 -07:00
Kevin Sawicki
0640631d07 Include JS/CoffeeScript grammars in markdown code blocks 2013-04-24 17:57:59 -07:00
Kevin Sawicki
4e8c6e29ad Use @ instead of this. 2013-04-24 17:57:59 -07:00
probablycorey
915d2e42b7 Store cefode versions in /tmp/atom-cached-cefodes
This will make rake cleaning go faster
2013-04-24 15:19:11 -07:00
Corey Johnson & Nathan Sobo
cd7162b3bc Fix event emitter error
Introduced in 9cc4c2e5de because
of botched merge conflict resolution
2013-04-24 14:17:47 -07:00
Corey Johnson & Nathan Sobo
96e91f5fa1 Use correct case when requiring subscriber 2013-04-24 14:15:09 -07:00
Corey Johnson & Nathan Sobo
24ce415283 Move event listener calls from resetDisplay to edit
Fixes #140
2013-04-24 11:41:56 -07:00
probablycorey
2a6c4b04b1 Lower case custom attribute linenumber.
All attribute names on HTML elements in HTML documents get ASCII-lowercased
automatically, so the restriction on ASCII uppercase letters doesn't affect such
documents. Via http://www.w3.org/html/wg/drafts/html/master/single-page.html
2013-04-24 11:41:56 -07:00
probablycorey
9cc4c2e5de Allow off to be called before on without error
Previously calling `something.off 'event-name', handler` would throw
an error unless `on` was called first.
2013-04-24 11:41:56 -07:00
Kevin Sawicki
7e9c39fd55 Remove less hack
less is no longer vendored and so the previous
window hack is no longer needed.
2013-04-24 11:36:18 -07:00
Kevin Sawicki
09967db742 Don't count DOM elements for operations count
The number of DOM elements rendered is fluid and using this
number displays inaccurate results as new operations are rendered.

Instead just set the operation count when creating the PathView
based on considering all the operations available.

Closes #502
2013-04-24 10:32:55 -07:00
Kevin Sawicki
946f908ab7 Use relative require paths 2013-04-24 10:12:30 -07:00
Kevin Sawicki
8fb61168b0 doc: mention cson and less files 2013-04-24 10:12:30 -07:00
Kevin Sawicki
b65e1485a7 Copy folders to ~/.atom directory asynchronously 2013-04-24 10:12:30 -07:00
Kevin Sawicki
1c8509b873 Look for .json extension first 2013-04-24 10:12:30 -07:00
Kevin Sawicki
044396d41a Remove unneeded empty array fallback 2013-04-24 10:12:30 -07:00
Kevin Sawicki
41229f50f7 Look for .json extension first 2013-04-24 10:12:29 -07:00
Kevin Sawicki
1368026db2 Remove measure calls 2013-04-24 10:12:29 -07:00
Kevin Sawicki
36e725d5d5 Precompile theme metadata to JSON 2013-04-24 10:12:29 -07:00
Kevin Sawicki
fc00688454 Use fsUtils.readObject() to read theme metadata 2013-04-24 10:12:29 -07:00
Kevin Sawicki
df9c30d174 Precompile .less theme files 2013-04-24 10:12:29 -07:00
Kevin Sawicki
1b6bd1f32f Only add view to attached editors 2013-04-24 10:12:29 -07:00
Kevin Sawicki
2f5a99fac2 Install atom command asynchronously 2013-04-24 10:12:29 -07:00
Kevin Sawicki
b27b0c7d4f Defer require and only add view to pane-based editors 2013-04-24 10:12:29 -07:00
Kevin Sawicki
d92db4a7a8 💄 2013-04-24 10:12:29 -07:00
Kevin Sawicki
7ef87cb6c4 Load scoped properties asynchronously 2013-04-24 10:12:29 -07:00
Kevin Sawicki
001fef384c Remove extra initialization of scoped properties 2013-04-24 10:12:29 -07:00
Kevin Sawicki
ab2a298994 💄 2013-04-24 10:12:28 -07:00
Kevin Sawicki
bef3c50fe5 Load scoped properties after grammars load 2013-04-24 10:12:28 -07:00