Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/TextThought.py
diff options
context:
space:
mode:
authorDonScorgie <DonScorgie@8f060a39-251c-0410-b1f3-431655927647>2007-04-06 10:23:41 (GMT)
committer DonScorgie <DonScorgie@8f060a39-251c-0410-b1f3-431655927647>2007-04-06 10:23:41 (GMT)
commit2a6bbf1159f43934c148c5f23267ac8f33603e26 (patch)
tree1aa57850b13b6fddde65469c5b9fa54fec40be1a /src/TextThought.py
parent88b337e66d7c9e5c2f88b27a66ca8b253de6801c (diff)
* src/TextThought.py:
Update attributes properly when using the mouse to move the cursor git-svn-id: http://labyrinth.googlecode.com/svn/trunk@164 8f060a39-251c-0410-b1f3-431655927647
Diffstat (limited to 'src/TextThought.py')
-rw-r--r--src/TextThought.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/TextThought.py b/src/TextThought.py
index 37fe601..178bda2 100644
--- a/src/TextThought.py
+++ b/src/TextThought.py
@@ -778,6 +778,8 @@ class TextThought (BaseThought.BaseThought):
self.paste_text (clip)
elif event.button == 3:
self.emit ("popup_requested", (event.x, event.y), 1)
+ del self.current_attrs
+ self.current_attrs = []
self.recalc_edges()
self.emit ("update_view")