Commit Graph

7467 Commits

Author SHA1 Message Date
Kevin Sawicki
d8c1587534 📝 Mark getters a public 2014-01-22 16:31:10 -08:00
Kevin Sawicki
a4754b2bd5 📝 Mark ThemeManager class public 2014-01-22 16:25:55 -08:00
Kevin Sawicki
f3f6ec424f 📝 Mark Pasteboard class as public 2014-01-22 16:11:58 -08:00
Kevin Sawicki
ac2985af36 Call getSelectedText() on Editor 2014-01-22 15:57:15 -08:00
Nathan Sobo
52dcf6a721 Guard against null line number elements when updating fold indicators
Fixes #1461 but doesn't really address the root cause.
2014-01-22 16:06:46 -07:00
Kevin Sawicki
cc53b6fbef 📝 Doc Syntax class 2014-01-22 10:30:25 -08:00
Kevin Sawicki
b31089cbb9 📝 Mention atom.project global in project docs 2014-01-22 10:21:37 -08:00
Kevin Sawicki
4d4ff84047 📝 Doc how to require WorkspaceView in package specs 2014-01-22 10:19:54 -08:00
Kevin Sawicki
b9d45680c3 📝 Wrap types in curlies 2014-01-22 10:09:08 -08:00
Kevin Sawicki
1fa2099eba Don't mark text-utils methods as public 2014-01-22 10:05:53 -08:00
Cheng Zhao
d13d2d3112 Generate source map in coffee-cache. 2014-01-22 14:36:50 +08:00
Nathan Sobo
8ca8ac5efc Make ConfigObserver a proper mixin and export it 2014-01-21 20:56:23 -07:00
Kevin Sawicki
e4bcb52573 📝 Add requiring in packages example to exported classes 2014-01-21 18:43:07 -08:00
Corey Johnson
a95a510770 Merge pull request #1456 from atom/cj-os-keybindings
Use file suffix to load specific platform keybindings.
2014-01-21 17:59:55 -08:00
probablycorey
7d1be155fa 💄 2014-01-21 17:55:05 -08:00
Kevin Sawicki
1d9bca12e0 📝 Mention that atom.project.getRepo() might be unavailable 2014-01-21 17:45:32 -08:00
Kevin Sawicki
352eab47df 📝 Merge example with return doc 2014-01-21 17:21:42 -08:00
Kevin Sawicki
03250f79c6 📝 Add period to first line of loadOrCreate doc 2014-01-21 17:05:55 -08:00
probablycorey
e53ed10169 Only allow one platform specific keybinding file. 2014-01-21 16:34:52 -08:00
Kevin Sawicki
4b3b0145a7 📝 Mark DisplayBuffer delegates as public 2014-01-21 16:17:47 -08:00
Kevin Sawicki
051f1b4777 📝 Mark setEditorWidthInChars as public 2014-01-21 16:12:06 -08:00
probablycorey
2e4e178091 Don't load keymap files with other platforms in the suffix
Example: On osx `keymap.cson` and `keymap-darwin.cson` would load. But
`keymap-win32.cson` would not load.
2014-01-21 16:03:34 -08:00
Kevin Sawicki
627e43dccf Hide tooltips when window is resized
Refs atom/feedback#12
2014-01-21 12:33:23 -08:00
Kevin Sawicki
cb8b38b7f7 💄 Use @ instead of this 2014-01-21 11:42:21 -08:00
Kevin Sawicki
26e21e98db 📝 Mention atom.project global 2014-01-20 16:00:02 -08:00
Kevin Sawicki
e3f32ab30b Wrap Array in curlies 2014-01-20 16:00:02 -08:00
Kevin Sawicki
3a02f4de0c 📝 Remove delegate warnings 2014-01-20 16:00:02 -08:00
Kevin Sawicki
c5349f53b2 Wrap code example in backticks 2014-01-20 16:00:01 -08:00
Kevin Sawicki
8b4b4a6ea9 📝 Indent comment correctly 2014-01-20 16:00:01 -08:00
Brandon Tilley
8bba4d8add Intelligently activate new items when the active item is closed
If the active item was the pane's first item, the second item (which is
the new first item) is activated. Otherwise, the item to the left of the
closed item is activated.
2014-01-20 14:34:02 -08:00
Nathan Sobo
4190f2f1ca Merge remote-tracking branch 'origin/master' into ns-fold-indicators 2014-01-20 14:40:14 -07:00
Nathan Sobo
525b5c9978 Don't make commented lines foldable based on the next line's indentation
Only the first line of a set of commented lines should be foldable, even
if some of the lines in the block are indented.
2014-01-20 14:29:08 -07:00
Nathan Sobo
da56c1def5 💄 comments 2014-01-20 14:09:25 -07:00
Nathan Sobo
d965e9f56c Ensure change doesn't precede rendered range when updating foldability 2014-01-20 11:39:30 -07:00
Kevin Sawicki
57a71b3cb3 Forward open commands to browser process 2014-01-20 10:37:14 -08:00
Kevin Sawicki
71c48ec07f Open .atom files from browser process
This allows a new window to be created if there is no currently
focused window.
2014-01-20 10:37:14 -08:00
Kevin Sawicki
905f628b79 Add command to open user config in an editor 2014-01-20 10:37:13 -08:00
Kevin Sawicki
52e999fc11 Add command to open user keymap in an editor 2014-01-20 10:37:13 -08:00
Kevin Sawicki
3114efbf9c 📝 Update path in comment 2014-01-20 10:37:13 -08:00
Kevin Sawicki
8436e8f62e Reload user keymap when it is moved/removed 2014-01-20 10:37:13 -08:00
Kevin Sawicki
ba1303a895 Add menu to opening user stylesheet 2014-01-20 10:37:13 -08:00
Kevin Sawicki
59c4c15afd Add command to open ~/.atom/user.less in an editor 2014-01-20 10:37:13 -08:00
Nathan Sobo
2831b43042 Update foldability indicators on changes that don't insert/remove lines
On changes that insert/remove lines, we redraw the entire gutter, which
ensures the foldability markers are up to date. But other kinds of
changes could change the foldability of lines… if a line becomes
commented or its indentation changes, the foldability of that line and
the lines above and below could be affected. For now, the gutter
understands this fact and updates the foldability for the region
extending from one line before to one line after each change. Someday
I'd like the view logic to not bake in knowledge of the folding rules,
but this works for now.
2014-01-20 11:17:58 -07:00
Nathan Sobo
3eb7c9d767 Add LanguageMode::toggleLineCommentForBufferRow for toggling single rows 2014-01-20 11:14:27 -07:00
Nathan Sobo
ed93695d64 Add a foldable indicator for multi-line comments 2014-01-18 12:08:37 -07:00
Nathan Sobo
4db2ad53fd Rename .fold class to .folded on line numbers in gutter
Using an adjective blends in better with '.foldable'
2014-01-18 11:35:22 -07:00
Nathan Sobo
99f025d5d6 Rename .fold-icon to .icon-right in gutter to make it multi-purpose 2014-01-17 16:59:50 -07:00
Kevin Sawicki
e0cf20cda9 Don't throw error when saving empty pane
Closes #1440
2014-01-17 15:24:55 -08:00
Nathan Sobo
a774c2ff08 🔫 unnecessary return statement 2014-01-17 15:46:49 -07:00
Nathan Sobo
fa6bce3085 Rename LanguageModel::isBufferRowFoldable to ::isFoldableAtBufferRow
It blends in better with the methods on Editor.
2014-01-17 15:19:07 -07:00