Re: [Scidvspc-users] Disabling PGN syntax check
Chess Database and Toolkit program
Brought to you by:
stevenaaus
|
From: Alex <ha...@tu...> - 2025-06-24 12:28:14
|
Jun 23, 2025, 13:05 by sci...@li...:
> Helo,
>
> Is there a way to disable (temporarily) PGN syntax check in the game list?
>
> I add some games with empty fileds as separators, for making the list more readable, and the syntax check makes blue ? signs appear in all empty fields.
>
>
Is this a correct way to disable question marks in empty fields? (It works; I'm interested if it doesn't break any functionality relied upon this `set')
--- a/tcl/end.tcl
+++ b/tcl/end.tcl
@@ -1441,7 +1441,7 @@
foreach i {white black event site round} {
set $i [string trim [set $i]]
if {[set $i] == ""} {
- set $i "?"
+# set $i "?"
}
if {[string bytelength [set $i]] > 255} {
tk_messageBox -type ok -icon info -parent .save -title "Oops" -message "\"[string totitle $i]\" is larger than 255 bytes."
--
Best regards,
Alex
|