summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 827743b)
raw | patch | inline | side by side (parent: 827743b)
author | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 21 Feb 2008 05:20:50 +0000 (00:20 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 21 Feb 2008 05:22:07 +0000 (00:22 -0500) |
We really only support Aspell, so showing the compatibility line from
ispell is of little value to end users.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
ispell is of little value to end users.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/spellcheck.tcl | patch | blob | history |
diff --git a/lib/spellcheck.tcl b/lib/spellcheck.tcl
index 05a1ceb85b355fe77efd644ff2da79d91c46d3b2..76a2f17daeb2ff7e463be39368e9946941b6d3d9 100644 (file)
--- a/lib/spellcheck.tcl
+++ b/lib/spellcheck.tcl
}
return
}
+
if {{@(#) } ne [string range $s_version 0 4]} {
catch {close $pipe_fd}
error_popup [strcat [mc "Unrecognized spell checker"] ":\n\n$s_version"]
return
}
set s_version [string range $s_version 5 end]
+ regexp \
+ {International Ispell Version .* \(but really (Aspell .*?)\)$} \
+ $s_version _junk s_version
puts $pipe_fd ! ; # enable terse mode
puts $pipe_fd {$$cr master} ; # fetch the language