rijalati / raptor-chess-interface

Automatically exported from code.google.com/p/raptor-chess-interface
0 stars 0 forks source link

Selecting game number #610

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When I finger someone who observes a game, I cannot select game number by right 
clicking over it, because ')' char is also getting selected. For example in 
this string:

(pchesso is observing game 214)

Original issue reported on code.google.com by bvk...@gmail.com on 15 Jul 2011 at 7:06

GoogleCodeExporter commented 9 years ago
The problem actually lies not in the ')' char not getting removed, but in the 
method raptor.connector.ics.IcsUtils.isLikelyGameId(), where the parameter 
"word" is passed to the function stripWord() instead of stripGameId(). 
Currently, stripGameId() is set up to strip trailing ')' characters, but I 
think we should maybe make it strip trailing '.'s (at the end of sentences) and 
':'s (in strings such as "Game 329: Bob(1932) vs. Alice(2029)") at least.

Original comment by kkpeng...@gmail.com on 15 Feb 2012 at 3:42

GoogleCodeExporter commented 9 years ago
I've made some fixes in r2397 and r2398.

Original comment by kkpeng...@gmail.com on 21 Feb 2012 at 4:18