Skip to content

Commit

Permalink
Update example to make use of the new simplified color scheme api
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinDuquesnoy committed May 31, 2015
1 parent 63533a4 commit d237071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/modes/pygments_syntax_highlighter.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
editor.backend.start(server.__file__)
editor.resize(800, 600)
sh = editor.modes.append(PygmentsSH(editor.document()))
sh.color_scheme = ColorScheme('monokai')
sh.color_scheme = 'monokai'
editor.file.open(__file__)
editor.show()
app.exec_()
Expand Down

0 comments on commit d237071

Please sign in to comment.