X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=lib%2Fspellcheck.tcl;h=e6120303e940ee6c849bf706415c1b450e68b57f;hb=34785f8ccabb12f684352902b7f201135b9ccd51;hp=a479b2f2857751d4d573c7bfe00f9e671d437aed;hpb=dd87558f58d989e47de09eafefa8d2f2ea4de27d;p=git.git diff --git a/lib/spellcheck.tcl b/lib/spellcheck.tcl index a479b2f28..e6120303e 100644 --- a/lib/spellcheck.tcl +++ b/lib/spellcheck.tcl @@ -314,6 +314,7 @@ method _run {} { method _read {} { while {[gets $s_fd line] >= 0} { set lineno [lindex $s_pending 0 0] + set line [string trim $line] if {$s_clear} { $w_text tag remove misspelled "$lineno.0" "$lineno.end"