Skip to content

Commit d237071

Browse files
Update example to make use of the new simplified color scheme api
1 parent 63533a4 commit d237071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/modes/pygments_syntax_highlighter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
editor.backend.start(server.__file__)
1818
editor.resize(800, 600)
1919
sh = editor.modes.append(PygmentsSH(editor.document()))
20-
sh.color_scheme = ColorScheme('monokai')
20+
sh.color_scheme = 'monokai'
2121
editor.file.open(__file__)
2222
editor.show()
2323
app.exec_()

0 commit comments

Comments
 (0)