Skip to content

Commit

Permalink
[Code] disable indent guides lines in editors (#32730)
Browse files Browse the repository at this point in the history
  • Loading branch information
spacedragon authored and mw-ding committed Mar 8, 2019
1 parent 08d0766 commit bea3503
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export class CodeBlock extends React.PureComponent<Props> {
selectOnLineNumbers: false,
selectionHighlight: false,
renderLineHighlight: 'none',
renderIndentGuides: false,
});
this.ed.onMouseDown((e: editor.IEditorMouseEvent) => {
if (
Expand Down
1 change: 1 addition & 0 deletions x-pack/plugins/code/public/monaco/monaco_helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export class MonacoHelper {
contextmenu: false,
folding: true,
scrollBeyondLastLine: false,
renderIndentGuides: false,
},
{
textModelService: new TextModelResolverService(monaco),
Expand Down

0 comments on commit bea3503

Please sign in to comment.