show arrow prefix on eval results in gutter
This commit is contained in:
parent
23fa977ce1
commit
7261678cb9
|
|
@ -452,7 +452,7 @@ class LineNumberRulerView: NSRulerView {
|
|||
lineRect.origin.y += tv.textContainerInset.height - visibleRect.origin.y
|
||||
|
||||
if let result = evalResults[lineNumber - 1] {
|
||||
let resultStr = NSAttributedString(string: result, attributes: resultAttrs)
|
||||
let resultStr = NSAttributedString(string: "→ \(result)", attributes: resultAttrs)
|
||||
let resultSize = resultStr.size()
|
||||
let resultPoint = NSPoint(
|
||||
x: ruleThickness - resultSize.width - 4,
|
||||
|
|
|
|||
Loading…
Reference in New Issue