Quantcast

entering the edit box highlights the current text

Paul Spears [10-22-09 - 08:57]
entering the edit box highlights the current text
Filename
WeightsWatcher.xml
diff --git a/WeightsWatcher.xml b/WeightsWatcher.xml
index e396922..20fb7d4 100644
--- a/WeightsWatcher.xml
+++ b/WeightsWatcher.xml
@@ -163,9 +163,11 @@
 					</OnChar>
 					<OnEditFocusGained>
 						self:GetParent().highlightFrame:Show()
+						self:HighlightText()
 					</OnEditFocusGained>
 					<OnEditFocusLost>
 						self:GetParent().highlightFrame:Hide()
+						self:HighlightText(0,0)
 					</OnEditFocusLost>
 					<OnTabPressed>
 						changeFocus(self:GetParent())