Commit Graph

317 Commits

Author SHA1 Message Date
Kevin Sawicki
08cac2bbe0 💄 2013-01-31 13:37:08 -08:00
Justin Palmer
c5b9c38311 specs for editor stats 2013-01-30 12:15:25 -08:00
Justin Palmer
2d87a60019 camelCase 2013-01-30 12:15:15 -08:00
Justin Palmer
164b50d795 zero pad minutes 2013-01-30 10:14:26 -08:00
Justin Palmer
1afb2fbeb5 highlight the max minute 2013-01-30 10:14:12 -08:00
Justin Palmer
bc61c3ca98 remove when detached 2013-01-30 10:14:04 -08:00
Justin Palmer
2abe3e47de show actual time on scale 2013-01-30 09:41:49 -08:00
Justin Palmer
6080ba66e1 tweak x axis display 2013-01-30 09:33:39 -08:00
Justin Palmer
ebc7daf1dc more styles 2013-01-30 09:00:48 -08:00
Justin Palmer
0c878c5e7d put editor stats in the document flow so it doesn't overlap the status bar 2013-01-30 09:00:40 -08:00
Justin Palmer
29b3a1d582 add keymap for editor stats 2013-01-30 09:00:16 -08:00
Justin Palmer
aa5660ba81 syntax yo 2013-01-29 15:46:19 -08:00
Justin Palmer
57c9412d99 fix scales 2013-01-29 15:44:16 -08:00
Justin Palmer
168f08611c color dem bars 2013-01-29 15:44:09 -08:00
Justin Palmer
e9ba5f8f85 update working smoothly 2013-01-29 14:57:47 -08:00
Justin Palmer
4b0a7a135d append the bars 2013-01-29 13:56:53 -08:00
Justin Palmer
3cb4519230 store x and y scales 2013-01-29 13:56:44 -08:00
Justin Palmer
7b586d85f8 update drawing on every event 2013-01-29 13:39:06 -08:00
Justin Palmer
f6c9dc1b1c append svg element 2013-01-29 13:38:57 -08:00
Justin Palmer
b065a67605 fat arrow detach 2013-01-29 13:38:38 -08:00
Justin Palmer
740d929cdd expose d3 to the view 2013-01-29 13:38:19 -08:00
Justin Palmer
e3831dddba cancel command 2013-01-29 13:38:00 -08:00
Justin Palmer
fd7358cb9a maintain the event log length at 60 items 2013-01-29 13:21:01 -08:00
Justin Palmer
7150f70333 editor stats package genesis 2013-01-29 13:16:28 -08:00
Kevin Sawicki
df83edde64 Only close preview when editor gains focus
Closes #193
2013-01-28 18:56:58 -08:00
Corey Johnson & Nathan Sobo
262703618d Eat interpolated variables in TextMate snippets
Someday we'll actually shell out to fill in their values, but for now,
we just replace them with an empty string.
2013-01-28 17:55:51 -07:00
Kevin Sawicki
4fe021bb61 Memoize built packages
Packages that successfully built are now stored internally
so they can be quickly accessed on future calls instead of
returning an array of newly built packages on each call.
2013-01-28 15:47:17 -08:00
Corey Johnson & Nathan Sobo
fa8ca1193f Correctly place tab stop anchor ranges in snippets with blank lines 2013-01-28 16:36:16 -07:00
Corey Johnson & Nathan Sobo
47ca7f81c1 💄 2013-01-28 16:36:16 -07:00
Corey Johnson & Nathan Sobo
c13b45df99 Hard tabs in snippets are translated to soft-tabs if necessary 2013-01-28 16:36:15 -07:00
Kevin Sawicki
75da205b0a Terminate worker when all snippets have been loaded 2013-01-27 22:26:45 -08:00
Nathan Sobo
96b0cde85a Merge branch 'dev' into web-workers 2013-01-27 18:53:59 -07:00
Nathan Sobo
c27de89327 Eliminate warning messages from snippets-spec
Mock loading of TextMate snippets or Atom snippets and only enable
loading for the type of snippet being currently tested. This limits
logging of warning to the single warning we expect for each type, which
allows us to not call through on the mocking of `console.warn` and
explicitly check for the single expected call.
2013-01-27 13:25:59 -07:00
Nathan Sobo
a83b8583f0 Perform body parsing in the worker thread (without failing specs)
Since `snippets.add` can still be called from the window thread, we need
to retain the ability to parse the body without relying on the loading
task. But this commit only loads the parser in the window if it's actually
needed, instead of always loading it when the snippets extension is
loaded. This avoids the loading performance hit while still allowing
specs to pass and letting us call `snippets.add` manually in the window
if we want to.
2013-01-27 12:07:36 -07:00
Kevin Sawicki
8fb1105051 Detach markdown preview when focus is lost 2013-01-27 11:00:34 -08:00
Nathan Sobo
5bfb9feeda Revert "Move snippet body parsing to web worker"
This reverts commit 5b541ccc2b.
It caused the snippets spec to break. I'll try to achieve the same
thing without that happening.
2013-01-27 11:40:01 -07:00
Jon Rohan
9d6853d29e By the power of box-flex, tabs 2013-01-25 16:25:33 -08:00
Kevin Sawicki
35b7ad5ee3 Add match count to path header text 2013-01-25 13:08:58 -08:00
Kevin Sawicki
e919759c58 Rename jump-to-declaration command to go-to-declaration 2013-01-25 12:55:12 -08:00
Kevin Sawicki
5524999946 Rename jump-to-line package to go-to-line 2013-01-25 12:52:10 -08:00
Kevin Sawicki
8bf82d3aa1 Don't detach unless view has parent 2013-01-25 12:46:08 -08:00
Kevin Sawicki
58dbddad53 Trigger attach before verifying confirm/cancel events 2013-01-25 12:45:20 -08:00
Kevin Sawicki
90d2e12e62 Add spec for editor:jump-to-line event 2013-01-25 12:44:13 -08:00
Kevin Sawicki
126d938aeb Use active editor from root view instead of ivar 2013-01-25 12:43:38 -08:00
Kevin Sawicki
e22c8d69f7 Add jump to line bound to meta-l
Closes #176
2013-01-25 11:22:29 -08:00
Kevin Sawicki
73aab4f49a Move gists stylesheet to themes 2013-01-25 10:10:19 -08:00
Kevin Sawicki
4a89f4580b Make Gists a deferred package 2013-01-25 10:08:00 -08:00
Kevin Sawicki
bdc85bec76 Add octicon to Gist notification 2013-01-25 09:26:54 -08:00
Kevin Sawicki
cffb73bc8d Show notification that Gist was created 2013-01-25 09:26:53 -08:00
Kevin Sawicki & Nathan Sobo
d1c6caabd6 Add package to create a Gist from the editor 2013-01-25 09:26:53 -08:00