Skip to content

Commit

Permalink
rewriting showLineNumbers fix so it works in RF1 & RF3
Browse files Browse the repository at this point in the history
  • Loading branch information
gferreira committed Jun 19, 2018
1 parent 902c696 commit 2559f92
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Batch.roboFontExt/lib/webFormats/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,13 @@ def __init__(self, parentWindow):
y = 10
self.w.tabs[1].htmlText = TextBox((10, y, 100, 22), "HTML preview:")
y += 30
self.w.tabs[1].html = self.html = CodeEditor((10, y, -10, 250), getExtensionDefault("%s.htmlPreview" % settingsIdentifier, htmlPreviewDefault), lexer="html", showLineNumbers=False)
self.w.tabs[1].html = self.html = CodeEditor((10, y, -10, 250), getExtensionDefault("%s.htmlPreview" % settingsIdentifier, htmlPreviewDefault), lexer="html")
self.html.showLineNumbers(False)
y += 260
self.w.tabs[1].globalCssText = TextBox((10, y, 100, 22), "CSS Style:")
y += 30
self.w.tabs[1].globalCss = self.globalCss = CodeEditor((10, y, -10, -10), getExtensionDefault("%s.globalCSSPreview" % settingsIdentifier, ""), lexer="css", showLineNumbers=False)
self.w.tabs[1].globalCss = self.globalCss = CodeEditor((10, y, -10, -10), getExtensionDefault("%s.globalCSSPreview" % settingsIdentifier, ""), lexer="css")
self.globalCss.showLineNumbers(False)

self.w.saveButton = Button((-100, -30, -10, 20), "Save settings", callback=self.saveCallback, sizeStyle="small")
self.w.setDefaultButton(self.w.saveButton)
Expand Down

0 comments on commit 2559f92

Please sign in to comment.