Kevin Sawicki
87fca98bab
Deprecate TextEditorComponent::setShowInvisibles
2015-04-03 11:27:59 -07:00
Kevin Sawicki
69b0d90e64
Remove unused require
2015-04-03 11:27:59 -07:00
Kevin Sawicki
5a7d746eae
Conditionally include deprecations in Atom
2015-04-03 11:27:59 -07:00
Kevin Sawicki
80cb757cfe
Add api preview open ipc event proxy
2015-04-03 11:27:59 -07:00
Kevin Sawicki
f79c2669fc
Add 1.0 API preview command line option
2015-04-03 11:27:59 -07:00
Kevin Sawicki
3de83f6860
Revert "Add asar support in Atom"
2015-04-03 11:03:43 -07:00
Max Brunsfeld
decab183b7
Fix screen/buffer range error in paragraph cursor motions
2015-04-03 10:34:21 -07:00
Antonio Scandurra
42521900e8
📝 Improve naming
2015-04-03 18:10:43 +02:00
Antonio Scandurra
1cf5822d20
Merge intersecting selections by row before deleting lines
2015-04-03 18:06:28 +02:00
Cheng Zhao
15ec7a4e9b
Merge branch 'master' into asar
2015-04-03 19:50:53 +08:00
Cheng Zhao
6910c81b46
Fix error when running apm in packages
2015-04-03 19:28:58 +08:00
Cheng Zhao
33d5a2b3fc
InspectorFrontendAPI changed to DevToolsAPI
2015-04-03 18:21:39 +08:00
Kevin Sawicki
aa4d294c19
Implement clearObservers in GrammarRegistry
2015-04-02 17:19:20 -07:00
Antonio Scandurra
544f3e1af2
Merge pull request #6167 from FoldingText/upstream
...
Clip positions above the first row
2015-04-02 19:52:55 +02:00
Kevin Sawicki
1b8337e79f
Project::getPath -> Project::getPaths
...
Closes atom/autocomplete-css#4
2015-04-02 09:47:20 -07:00
Kevin Sawicki
cd8536d8a0
Listen for error event before any other calls
2015-04-02 09:43:31 -07:00
Jesse Grosjean
0fe1ea1af3
Target 0 instead of -Infinity to make the code a bit clearer.
2015-04-02 12:25:16 -04:00
Jesse Grosjean
82da0865bc
Merge branch 'master' of https://github.com/atom/atom into upstream
2015-04-02 12:23:03 -04:00
Antonio Scandurra
b3bdad084f
Always mutate selections in order
2015-04-02 16:35:26 +02:00
Antonio Scandurra
44d88e082c
🐛 Always copy selections in order
2015-04-02 16:28:22 +02:00
Cheng Zhao
32f2e4c4bc
Merge branch 'master' into asar
...
Conflicts:
apm/package.json
2015-04-02 10:08:33 +08:00
Ben Ogle
e29b8416a1
Always add the item to the parent.
2015-04-01 17:41:00 -07:00
Ben Ogle
48c05210fa
Remove specs from text-editor-component
2015-04-01 17:41:00 -07:00
Ben Ogle
bed09cf0ef
Presenter positions overlays when the overlay doesn’t have a size
...
Fix presenter specs
2015-04-01 17:41:00 -07:00
Ben Ogle
77139104fd
Remove getOverlayDimensions
...
No longer needed
2015-04-01 17:41:00 -07:00
Ben Ogle
3adc646a79
Remove the horribleUpdateMethod
2015-04-01 17:41:00 -07:00
Ben Ogle
32572c0106
Add ViewRegistry::pollAfterNextUpdate
...
Closes #6196
2015-04-01 17:41:00 -07:00
Ben Ogle
b0794bbb68
Move the overlay calculation into the presenter.
2015-04-01 17:40:59 -07:00
Ben Ogle
c62f06af9d
Cache the overlay dimensions in the presenter
2015-04-01 17:40:59 -07:00
Ben Ogle
0fa03f15b6
Update overlay rendering
2015-04-01 17:40:59 -07:00
Ben Ogle
6b5a74e3b6
Update specs for overlay rendering
2015-04-01 17:40:59 -07:00
Ben Ogle
8749db30cf
Add OverlayManager to the TextEditorComponent
2015-04-01 17:40:59 -07:00
Ben Ogle
db35022d0e
Remove OverlayManager from the LinesComponent
2015-04-01 17:40:59 -07:00
Mert Kahyaoğlu
33faef2499
remove duplicate switch case
2015-04-01 20:34:59 +03:00
Ben Ogle
72aa0524c4
Merge pull request #6200 from mertkahyaoglu/master
...
minor changes in decoration.coffee
2015-04-01 08:31:57 -07:00
Mert Kahyaoğlu
93e4b061fa
minor changes in decoration.coffee
2015-04-01 16:39:51 +03:00
Vegar Vikan
4cf34cc1fa
Documentation: workspace.open( ) refrasing
2015-04-01 00:21:59 +02:00
Jesse Grosjean
4a864e79dc
Fix screenPositionForPixelPosition for case above first row.
...
Currently screenPositionForPixelPosition special cases pixel positions
below the last row so that the column position is always set to the
last column of the last line, even if the pixel 'x' position is less
then that column.
This patch special cases picks above the first row so that the text
column position will be in the first column even if the pixel 'x'
position is greater then that column.
At a higher level, this patch fixes the problem where you can’t select
to the start of a text field by just clicking and dragging up. Instead
you have to click and drag back (x axis) beyond the start of the text
field.
2015-03-30 13:09:30 -04:00
Cheng Zhao
685e4ebe96
Update path to apm in squirrel-update and package-manager
2015-03-30 15:01:19 +08:00
Cheng Zhao
c52058ef12
Always install commands from process.resourcesPath
2015-03-30 15:01:19 +08:00
Cheng Zhao
3ce12693e6
Install apm to process.resourcesPath
2015-03-30 15:01:19 +08:00
Cheng Zhao
01130230e4
Copy LICENSE.md to process.resourcesPath
...
The LICENSE file is needed by mkdeb task, we should move it out of asar
archive.
2015-03-30 15:01:19 +08:00
Cheng Zhao
a8b919f0e0
Print errors that happened before task-bootstrap
2015-03-30 15:01:19 +08:00
Cheng Zhao
e79a23f39a
Do not set "cwd" for tasks
...
The task can be inside an asar archive, which is not allowed to be cwd.
2015-03-30 15:01:18 +08:00
Nikolaus Wittenstein
5a3f2035a1
Replace skipAtomicTokens with clip
...
When clipping a screen position, callers used to have to pick between
clipping to the left edge or the right edge when the position was in the
middle of an atomic token. This change allows them to choose the closest
edge, and makes this the default.
This makes selecting hard tabs (or any other atomic tokens) work in a
similar manner as in other text editors; that is, when clicking near
the middle of a tab, the insertion point will move to the closest edge
rather than the left edge.
2015-03-29 19:43:25 -04:00
Nikolaus Wittenstein
372fb49c88
TokenizedLine::screenColumnForBufferColumn calculates more accurately
...
screenColumnForBufferColumn used to break only if the current column
was strictly greater than the target column. This commit changes it so
it breaks when greater or equal, which is how bufferColumnForScreenColumn
works.
This also adds some unit tests for screenColumnForBufferColumn's
interactions with hard tab characters.
2015-03-29 19:43:25 -04:00
Nikolaus Wittenstein
3551780cdf
Marker::setHead/TailScreenPosition no longer clip unnecessarily
...
DisplayBuffer::bufferPositionForScreenPosition calls clipScreenPosition
first thing, meaning that Marker::setHead/TailScreenPosition don't need
to call clipScreenPosition before calling bufferPositionForScreenPosition.
2015-03-29 19:43:25 -04:00
Max Brunsfeld
230eb12a8a
Fix double autoscroll when moving cursor
2015-03-27 10:27:24 -07:00
Kevin Sawicki
c12f94907d
Remove grim.deprecate override
2015-03-26 16:36:00 -07:00
Nathan Sobo
127e0fbf6b
Merge pull request #6114 from atom/mb-ns-fix-autoscroll
...
Fix autoscroll on undo
2015-03-26 17:34:39 -06:00