We do this in a couple few places:
-
to read the sheet tag lines, for example, when finding the +output sheet. However, we will be reading more tag lines for other purposes soon.
We should fix this by using a view to track the tag line across changes.
-
to read the column number when moving the cursor up and down.
-
when reading the word under the mouse pointer when 2-click-executing a command
We should fix these two by using a separate go routine for textBox event handling. There is already a goroutine reading the notify channel of the textbox's view. Why not do it in there.
We do this in a couple few places:
to read the sheet tag lines, for example, when finding the +output sheet. However, we will be reading more tag lines for other purposes soon.
We should fix this by using a view to track the tag line across changes.
to read the column number when moving the cursor up and down.
when reading the word under the mouse pointer when 2-click-executing a command
We should fix these two by using a separate go routine for textBox event handling. There is already a goroutine reading the notify channel of the textbox's view. Why not do it in there.