Tk Source Code

Artifact [4b0a14b3]
Login

Artifact 4b0a14b31afcedeba6d46c124cd0767aca39f034:

Ticket change [4b0a14b3] - Ticket [7703f947] Many many issues with elided lines in the text widget status still Open with 3 other changes by fvogel 2014-12-28 21:03:35.
D 2014-12-28T21:03:35.630
J icomment Further\sfixed\s(in\sbranch\stext-elided)\s'text\ssee'\swith\sindices\sin\selided\slines,\ssince\sprevious\sfixes\ssuch\sas\s[5f352f3a71]\swere\snot\scorrect\sin\sall\scases.\r\n\r\nNow\sALL\scalls\sto\sCalculateDisplayLineHeight\suse\san\sindex\sthat\sis\sat\sthe\sstart\sof\sa\sdisplay\sline,\sas\srequested\sby\sCalculateDisplayLineHeight.\r\n\r\nTest\scase\s'L':\r\n--------------\r\npackage\srequire\sTk\r\npack\s[text\s.t]\r\npack\sconfigure\s.t\s-expand\s1\s-fill\sboth\r\nfor\s{set\si\s1}\s{$i\s<\s50}\s{incr\si}\s{\r\n\s\s\s\s.t\sinsert\send\s"Line\s$i\\n"\r\n}\r\n#\sbutton\sjust\sfor\shaving\sa\sline\swith\sa\slarger\sheight\r\nbutton\s.t.b\s-text\s"Test"\s-bd\s2\s-highlightthickness\s2\r\n.t\swindow\screate\s21.0\s-window\s.t.b\r\nwm\sgeometry\s.\s300x200+0+0\r\n.t\stag\sadd\shidden\s15.36\s21.0\r\n.t\stag\sconfigure\shidden\s-elide\strue\r\n#\sIndices\s21.0,\s17.0\sand\s15.0\sare\sall\son\sthe\ssame\sdisplay\sline\r\n#\stherefore\sindex\s@0,0\sshall\sbe\sthe\ssame\sfor\sall\sof\sthem\r\n.t\ssee\send\r\nupdate\r\n.t\ssee\s21.0\r\nupdate\r\nset\sind1\s[.t\sindex\s@0,0]\r\n.t\ssee\send\r\nupdate\r\n.t\ssee\s17.0\r\nupdate\r\nset\sind2\s[.t\sindex\s@0,0]\r\n.t\ssee\send\r\nupdate\r\n.t\ssee\s15.0\r\nupdate\r\nset\sind3\s[.t\sindex\s@0,0]\r\nlist\s[expr\s{$ind1\s==\s$ind2}]\s[expr\s{$ind1\s==\s$ind3}]\s;\scorrect\sis\s{1\s1}
J login fvogel
J mimetype text/plain
K 7703f947aa6682d6cc057798f2029d50bef3c24e
U fvogel
Z db3fc393536b6f0b414f5fc8d04a32c0