Uncaught Error: No screen line exists when converting buffer row to screen row
mrkwse opened this issue · comments
Not really certain of exact steps, but occurred first when I had split panes and tried copying from one and pasting into another. Both panes were same files. Closing and reopening buffer didn't resolve it. After first appearance, unable to edit either document (just cascades uncaught error dialogues).
Atom Version: 0.201.0
System: Mac OS X 10.10.3
Thrown From: minimap-git-diff package, v4.1.3
Stack Trace
Uncaught Error: No screen line exists when converting buffer row to screen row
At /Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:1047
Error: No screen line exists when converting buffer row to screen row
at DisplayBuffer.module.exports.DisplayBuffer.screenPositionForBufferPosition (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:1047:17)
at Marker.module.exports.Marker.getHeadScreenPosition (/Applications/Atom.app/Contents/Resources/app.asar/src/marker.js:174:33)
at new Marker (/Applications/Atom.app/Contents/Resources/app.asar/src/marker.js:34:41)
at DisplayBuffer.module.exports.DisplayBuffer.getMarker (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:1265:20)
at DisplayBuffer.module.exports.DisplayBuffer.handleBufferMarkerCreated (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:1592:25)
at /Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:5:61
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
at TextBuffer.module.exports.TextBuffer.markerCreated (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1253:20)
at MarkerStore.module.exports.MarkerStore.createMarker (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/marker-store.js:313:21)
at MarkerStore.module.exports.MarkerStore.markRange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/marker-store.js:148:19)
at TextBuffer.module.exports.TextBuffer.markRange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:604:31)
at DisplayBuffer.module.exports.DisplayBuffer.markBufferRange (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:1297:41)
at TextEditor.module.exports.TextEditor.markBufferRange (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1245:59)
at MinimapGitDiffBinding.module.exports.MinimapGitDiffBinding.markRange (/Users/mwuk/.atom/packages/minimap-git-diff/lib/minimap-git-diff-binding.coffee:49:19)
at MinimapGitDiffBinding.module.exports.MinimapGitDiffBinding.addDecorations (/Users/mwuk/.atom/packages/minimap-git-diff/lib/minimap-git-diff-binding.coffee:7:3)
at MinimapGitDiffBinding.module.exports.MinimapGitDiffBinding.updateDiffs (/Users/mwuk/.atom/packages/minimap-git-diff/lib/minimap-git-diff-binding.coffee:10:5)
at /Users/mwuk/.atom/packages/minimap-git-diff/lib/minimap-git-diff-binding.coffee:1:1
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
at /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:228:32
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
at DisplayBuffer.module.exports.DisplayBuffer.emitDidChange (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:302:20)
at DisplayBuffer.module.exports.DisplayBuffer.updateScreenLines (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:1473:19)
at DisplayBuffer.module.exports.DisplayBuffer.handleTokenizedBufferChange (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:1439:12)
at /Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:5:61
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
at TokenizedBuffer.module.exports.TokenizedBuffer.tokenizeNextChunk (/Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:307:22)
at /Applications/Atom.app/Contents/Resources/app.asar/src/tokenized-buffer.js:258:26
at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/underscore-plus/node_modules/underscore/underscore.js:666:47
Commands
-0:41.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:39.4.0 go-to-line:toggle (atom-text-editor.editor.is-focused)
-0:36.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:35.2.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
-0:35.2.0 snippets:expand (atom-text-editor.editor.is-focused)
-0:35.2.0 editor:indent (atom-text-editor.editor.is-focused)
-0:34.3.0 core:paste (atom-text-editor.editor.is-focused)
-0:25.7.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
-0:25.7.0 core:cancel (atom-text-editor.editor.is-focused)
-0:24.5.0 core:close (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-seti-syntax.theme-seti-ui)
-0:23.9.0 fuzzy-finder:toggle-file-finder (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-seti-syntax.theme-seti-ui)
-0:21.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:17.3.0 go-to-line:toggle (atom-text-editor.editor.is-focused)
-0:15.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:13.1.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
-0:13.1.0 core:cancel (atom-text-editor.editor.is-focused)
Config
{
"core": {
"disabledPackages": [
"atom-2048",
"vim-mode"
],
"followSymlinks": true,
"themes": [
"seti-ui",
"seti-syntax"
]
}
}
Installed Packages
# User
atom-color-highlight, v3.0.9
atom-handlebars, v0.5.0
color-picker, v1.7.0
compare-files, v0.4.1
language-erlang, v2.0.0
merge-conflicts, v1.3.1
minimap, v4.9.0
minimap-color-highlight, v4.1.3
minimap-find-and-replace, v4.2.0
minimap-git-diff, v4.1.3
minimap-highlight-selected, v4.2.3
minimap-selection, v4.2.0
project-palette-finder, v2.4.17
seti-syntax, v0.4.0
seti-ui, v0.7.1
# Dev
No dev packages
Thanks for the report, I'm not sure what happened, it's been a long time since I got this kind of errors. I'll try to push a patch that catch the error. I'll try to reproduce this using the steps you described to confirm the problem.
Thanks, I’ll keep an eye out if it happens again and let you know if I find more definite steps.
Cheers for the package, use it all the time.
On 26 May 2015, at 10:37, Cédric Néhémie <notifications@github.commailto:notifications@github.com> wrote:
Thanks for the report, I'm not sure what happened, it's been a long time since I got this kind of errors. I'll try to push a patch that catch the error. I'll try to reproduce this using the steps you described to confirm the problem.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-105466534.