importsfromgooglecode / pychess

Automatically exported from code.google.com/p/pychess
GNU General Public License v3.0
0 stars 0 forks source link

Use spellcheck like UI for errors in enter game notation #198

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If you enter bad san in the "enter game notation" dialog, PyChess currently
parses as much as it can, and gives a terminal error like:

pychess.Utils.lutils.lmove.ParsingError: Bad SAN move 'e4'. No piece is
able to move to e4. None None Pawn 0  available moves: Na3 c3 Ne2 f3 h3
Kxe2+ Bxe2+ d3 c4+ b5 a6 Qxe2+ f3 g4+ h5 axa3+ b3 c3+ d3 f3+ g3 h3+ a4 b4+
c4 d4+ f4 g4+ h4rnbqkbnr/pppp1ppp/8/4p3/4P3/8/PPPP1PPP/RNBQKBNR w KQkq e6 0 2

It would be really neat if PyChess could use a spellchecker like interface
to underline the bad move, and perhaps by right clicking offer "spelling
suggestions" in form of the allowed moves.

Original issue reported on code.google.com by lobais on 1 Sep 2007 at 12:15

GoogleCodeExporter commented 9 years ago

Original comment by lobais on 7 Oct 2007 at 5:21