Tk Library Source Code

Artifact Content
Login
Bounty program for improvements to Tcl and certain Tcl packages.

Artifact e8814280f545e303e9f3975c7fbb1f4c0d0be369d6a3cdf416d6daf34e6495e4:

Ticket change [e8814280f5] - New ticket [4e8fb9d55e39cad0|4e8fb9d55e] <i>Update ctext</i>. by anonymous 2019-05-30 22:29:51.
D 2019-05-30T22:29:51.604
J assignee nobody
J closer nobody
J cmimetype text/html
J comment <p>Hello\severybody,</p>\r\n\r\n<p>I\suse\san\supdated\sctext\sversion\sfor\sa\sPerl/Tcl::Tk\sapplication.\sPerhaps\sthis\sis\sgenerally\sinteresting\sfor\sthe\sTcl\scommunity,\stoo?\s</p>\r\n\r\n<p>The\snew\sfeatures\sare:</p>\r\n\r\n<p>1)</p>\s\r\n<p>You\scan\spass\san\sarray\swith\soption-values-pairs\sto\sall\saddHighlightClasses*.\sWith\sthis\syou\scan\sspecifically\sset\sthe\stag\sconfiguration\sof\sa\sHighlight\sclass.\sEspecially\sit\sis\spossible\sto\sadjust\snot\sonly\sthe\scolor\sof\sthe\stags/highlight\sclasses,\sbut\salso\sthe\sfont\sweight:</p>\r\n\r\n<p>e.g.:\s<code>::ctextAdvanced::addHighlightClassForRegexp\spath\skeywords\s{-foreground\s#cb319b\s-font\s"Helvetica\s10\sbold"}\spattern</code></p>\r\n\r\n<p>2)</p>\r\n<p>Unfortunately\susing\sa\sbold\sweight\sor\sthe\slika\scrashes\sthe\slinemap\snumbering.\sSo\sI\shad\sto\simplement\sthe\slinemap\sanew.\sThe\smain\sinspiration\scame\sfrom\sthe\sline\snumber\sexample\sof\sBryan\sOakley\s(see\s<a\shref=https://wiki.tcl-lang.org/page/line+numbers+in+text+widget)>here</a></p>\r\n\r\n<p>3)</p>\r\n<p>Last\sbut\snot\sleast\sI\sadded\san\sadditional\soption\s-linemap_font_select.\sWith\sthis\syou\scan\schange\sthe\sfont\sof\sthe\slinemap\sif\sa\snumber\sis\spressed\s(so\sthat\syou\scan\sdisplay\sthe\snumber\sfor\sexample\swith\sbold\sweight\sif\sit\sis\spressed)</p>\r\n\r\n<p>4)</p>\r\n<p>Perhaps\sa\sgeneral\soption\s-linemap_font\swould\sbe\sa\sgood\sidea,\stoo,\sso\sthat\sthe\slinemap\sand\sthe\stext\swidget\scould\shave\sdifferent\sfonts.\sBut\sat\sthe\smoment\sI\shave\snot\simplemented\sthis...</p>\r\n\r\n\r\n<p>I\sdon't\sknow\swhether\smy\spatches\scould\sbe\san\sidea\sfor\san\supdate\sof\sctext.\sBecause\sI\sam\sno\sTcl/Tk\sexpert,\sit\swould\sbe\sgreat,\sif\ssomebody\smore\sexperienced\scould\scheck\sthe\sproposed\supdate.\sI\sthink\sthe\schanges\swould\sbe\svery\simportant\simprovements\sand\swould\smake\sctext\sto\sa\syet\spowerful\stool.</p>\r\n<p>The\supdated\sctext\sversion\scan\sbe\sseen\sat\s<a\shref=https://github.com/MaxPerl/ctextAdvanced>github</a>\s(Temporary\sI\sname\sthe\senhanced\sversion\sctextAdvanced,\sbut\sto\supdate\sctext\sone\shas\sonly\sto\sreplace\sctextAdvanced\swith\sctext\s(see\salso\sthe\sctext.tcl.patch\sfile))</p>\r\n\r\n<p>Best\swishes,</p>\r\n<p>Max</p>
J foundin 3.3
J is_private 0
J login anonymous
J priority 5\sMedium
J private_contact 7ac9ad071e3834571a0dbc455674c4f9bfc15bf9
J resolution None
J severity Minor
J status Open
J submitter anonymous
J subsystem tklib\s::\sctext
J title Update\sctext
J type Patch
K 4e8fb9d55e39cad03c7f3cc6bba941fc54e941f1
U anonymous
Z f8fa69bb4a965b70f8be83fbb654a72e