Skip to content

Commit a7e4880

Browse files
committed
whitespaces tweaks
1 parent 9bf0cdf commit a7e4880

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

QCodeEditor.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Licensed under the terms of the MIT License
55
66
Re-written for Snippet Editor by Jordan Wiens (https://github.com/psifertex/)
7-
With some original components (line numbers) based on:
7+
With some original components (line numbers) based on:
88
99
https://github.com/luchko/QCodeEditor
1010
@author: Ivan Luchko ([email protected])
@@ -57,7 +57,7 @@ def highlightBlock(self, text):
5757
p = cb.position()
5858
text=self.document().toPlainText()+' \n'
5959
highlight(text,self.lexer,self.formatter)
60-
60+
6161
#dirty, dirty hack
6262
for i in range(len(text)):
6363
try:
@@ -83,7 +83,7 @@ def bnformat(color, style=''):
8383

8484
return format
8585

86-
# Most of these aren't needed but after fighting pygments for so long I figure they can't hurt.
86+
# Most of these aren't needed but after fighting pygments for so long I figure they can't hurt.
8787
bnstyles = {
8888
'Token.Literal.Number': bnformat('NumberColor'),
8989
'Token.Literal.Number.Bin': bnformat('NumberColor'),
@@ -116,7 +116,7 @@ def bnformat(color, style=''):
116116
'Token.Punctuation': bnformat('UncertainColor'),
117117

118118
#This is the most important and hardest to get right. No way to get theme palettes!
119-
'Token.Name': bnformat('OutlineColor'),
119+
'Token.Name': bnformat('OutlineColor'),
120120

121121
'Token.Name.Namespace': bnformat('OutlineColor'),
122122

0 commit comments

Comments
 (0)