D 2019-05-30T22:29:51.604 J assignee nobody J closer nobody J cmimetype text/html J comment
Hello\severybody,
\r\n\r\nI\suse\san\supdated\sctext\sversion\sfor\sa\sPerl/Tcl::Tk\sapplication.\sPerhaps\sthis\sis\sgenerally\sinteresting\sfor\sthe\sTcl\scommunity,\stoo?\s
\r\n\r\nThe\snew\sfeatures\sare:
\r\n\r\n1)
\s\r\nYou\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:
\r\n\r\ne.g.:\s::ctextAdvanced::addHighlightClassForRegexp\spath\skeywords\s{-foreground\s#cb319b\s-font\s"Helvetica\s10\sbold"}\spattern
2)
\r\nUnfortunately\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\shere
\r\n\r\n3)
\r\nLast\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)
\r\n\r\n4)
\r\nPerhaps\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...
\r\n\r\n\r\nI\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.
\r\nThe\supdated\sctext\sversion\scan\sbe\sseen\sat\sgithub\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))
\r\n\r\nBest\swishes,
\r\nMax
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