Add the text member back.

It seems rope.Report is not acting how I expected it to. I need to look
into this in more detail but for now I am adding the Text variable back
to the Buffer.

Fixes #98
This commit is contained in:
Zachary Yedidia
2016-05-06 19:15:10 -04:00
parent aeff0f8170
commit 8670a03973
4 changed files with 13 additions and 11 deletions

View File

@@ -141,7 +141,7 @@ func HandleCommand(input string, view *View) {
found := false
for {
match := regex.FindStringIndex(view.Buf.String())
match := regex.FindStringIndex(view.Buf.Text)
if match == nil {
break
}