Hi!

Attached little patch updates the position in the comment editor board panel as you browse through a game.

Nice for those who - like me - have this habit of keeping the editor open while at work.

Cheers,
Joost.
? Makefile
? patch.txt
? pgnfix
? pgnscid
? sc_addmove
? sc_eco
? sc_epgn
? sc_import
? sc_remote
? sc_spell
? sc_tree
? scid
? scidlet
? scidpgn
? scidt
? scmerge
? spf2spi
? spliteco
? tcscid
? tkscid
? engines/phalanx-scid/phalanx-scid
? engines/togaII1.2.1a/src/.depend
? engines/togaII1.2.1a/src/togaII
? tcl/windows/.comment.tcl.swp
Index: tcl/windows/comment.tcl
===================================================================
RCS file: /cvsroot/scid/scid/tcl/windows/comment.tcl,v
retrieving revision 1.12
diff -U3 -r1.12 comment.tcl
--- tcl/windows/comment.tcl     14 Apr 2009 19:04:32 -0000      1.12
+++ tcl/windows/comment.tcl     15 Feb 2010 21:09:25 -0000
@@ -460,7 +460,7 @@
     addMark $board $type $square $arg $color 1
   }
   $text insert insert [string range $comment $offset end]
-  ::board::update $board
+  ::board::update $board [sc_pos board]
 }
 
 ### End of namespace ::commenteditor
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to