Skip to content

Ctrl+Shift+arrow causes error and weird behaviour #136

@thany

Description

@thany

When I press Ctrl+Shift+up/down, I get this error in the console:

Uncaught TypeError: Cannot read property 'from' of undefined foldgutter.js:72
_isCurrentlyFolded foldgutter.js:72
updateFoldInfo foldgutter.js:93
onChange foldgutter.js:279
(anonymous function) /thirdparty/CodeMirror2/lib/codemirror.js:7154
fireCallbacksForOps /thirdparty/CodeMirror2/lib/codemirror.js:1982
endOperation /thirdparty/CodeMirror2/lib/codemirror.js:1997
runInOp /thirdparty/CodeMirror2/lib/codemirror.js:2140
CodeMirror.operation /thirdparty/CodeMirror2/lib/codemirror.js:4426
Document.batchOperation /document/Document.js:404
Document.doMultipleEdits /document/Document.js:618
moveLine /editor/EditorCommandHandlers.js:839
moveLineDown /editor/EditorCommandHandlers.js:870
Command.execute /command/CommandManager.js:93
execute /command/CommandManager.js:287
_handleKey /command/KeyBindingManager.js:608
_handleKeyEvent /command/KeyBindingManager.js:787

Which causes Brackets to select to the beginning/end of the document from the current caret position.

This is on Windows 7 x64 and Brackets 1.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions