added :setSelectionColor()

added :setSelectionColor(backgroundCol, foregroundCol)
This commit is contained in:
Robert Jelic
2023-01-23 21:52:20 +01:00
committed by GitHub
parent 94fccf9211
commit 50dce1c1e7

View File

@@ -686,6 +686,12 @@ return function(name)
end end
end, end,
setSelectionColor = function(self, bg, fg)
selectionBG = bg or selectionBG
selectionFG = fg or selectionFG
return self
end,
draw = function(self) draw = function(self)
if (base.draw(self)) then if (base.draw(self)) then
if (self.parent ~= nil) then if (self.parent ~= nil) then