diff Libs/AceGUI-3.0/widgets/AceGUIWidget-EditBox.lua @ 11:371e14cd2feb

- major fixes with icons not showing correctly.
author Tercio
date Thu, 08 Dec 2016 13:01:40 -0200
parents fc346da3afd9
children 3000eccbf1a0
line wrap: on
line diff
--- a/Libs/AceGUI-3.0/widgets/AceGUIWidget-EditBox.lua	Tue Oct 25 15:59:51 2016 -0200
+++ b/Libs/AceGUI-3.0/widgets/AceGUIWidget-EditBox.lua	Thu Dec 08 13:01:40 2016 -0200
@@ -1,7 +1,7 @@
 --[[-----------------------------------------------------------------------------
 EditBox Widget
 -------------------------------------------------------------------------------]]
-local Type, Version = "EditBox", 25
+local Type, Version = "EditBox", 26
 local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
 if not AceGUI or (AceGUI:GetWidgetVersion(Type) or 0) >= Version then return end
 
@@ -200,6 +200,10 @@
 		if not self.frame:IsShown() then
 			self.frame:SetScript("OnShow", Frame_OnShowFocus)
 		end
+	end,
+
+	["HighlightText"] = function(self, from, to)
+		self.editbox:HighlightText(from, to)
 	end
 }