Skip to content

Commit

Permalink
Upgrade Ace, restore usage of getDisplayIndentGuides()
Browse files Browse the repository at this point in the history
- Use Ace v1.23.2
- Fixes #347
  • Loading branch information
exsilium committed Jul 10, 2023
1 parent ecd54c9 commit b89a1de
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@pylonide/v8debug": "~0.1.3",
"@pylonide/vfs-architect": "~0.6.0",
"@pylonide/vfs-nodefs-adapter": "~0.6.0",
"ace": "https://github.com/ajaxorg/ace/tarball/v1.23.0"
"ace": "https://github.com/ajaxorg/ace/tarball/v1.23.2"
},
"devDependencies": {
"rimraf": "~5.0.1",
Expand Down
3 changes: 1 addition & 2 deletions plugins-client/lib.ppc/www/ppc/elements/codeeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -516,8 +516,7 @@ ppc.codeeditor = module.exports = function(struct, tagName) {
this.activeline = ed.getHighlightActiveLine();//true;
this.gutterline = ed.getHighlightGutterLine();//true;
this.animatedscroll = ed.getAnimatedScroll();//true
// FIXME ajaxorg/ace #5228
this.showindentguides = true;//ed.getDisplayIndentGuides();//true
this.showindentguides = ed.getDisplayIndentGuides();//true
this.autohidehorscrollbar = !ed.renderer.getHScrollBarAlwaysVisible();//true
this.highlightselectedword = ed.getHighlightSelectedWord();
this.behaviors = !ed.getBehavioursEnabled();
Expand Down

0 comments on commit b89a1de

Please sign in to comment.