File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
src/editor/codemirror/structure-highlighting Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ _steps:
33
33
install_dependencies : &install_dependencies
34
34
run : npm ci --cache .npm-cache && sudo npm i -g --registry https://npm.pkg.github.com/microbit-foundation @microbit-foundation/website-deploy-aws@0.2.0 @microbit-foundation/website-deploy-aws-config@0.4.2 @microbit-foundation/circleci-npm-package-versioner@1
35
35
install_theme : &install_theme
36
- run : npm install --no-save --registry https://npm.pkg.github.com/microbit-foundation @microbit-foundation/python-editor-next-microbit@0.1.0-dev.37
36
+ run : npm install --no-save --registry https://npm.pkg.github.com/microbit-foundation @microbit-foundation/python-editor-next-microbit@0.1.0-dev.39
37
37
update_version : &update_version
38
38
run : npm run ci:update-version
39
39
build : &build
Original file line number Diff line number Diff line change @@ -225,6 +225,8 @@ const positionsForNode = (
225
225
const leftIndent = depth * indentWidth ;
226
226
const left = leftEdge + leftIndent ;
227
227
const mainCursor = state . selection . main . head ;
228
+ // We only want the deepest node marked as active, not every node
229
+ // that contains the cursor.
228
230
const cursorActive = mainCursor >= start && mainCursor <= end ;
229
231
return new Positions ( top , left , height , cursorActive ) ;
230
232
} ;
You can’t perform that action at this time.
0 commit comments