MantisBT - mSLDev
View Issue Details
0000157mSLDevSyntax Highlightingpublic2013-05-17 09:302013-05-17 14:26
Wims 
administrator 
normalminoralways
closedfixed 
 
0.4.1.0 
0000157: Highlighting { }
It is incorrect in some cases, create a new script file:

alias -l pacclient_soon {
  if (!$window(@pacman)) { .timerpacclientsoon off | return }|
  if ($1) {
    titlebar @pacman $1
    var %xd $int($calc($window(@pacman).bw / 2 - $pic($scriptdir $+ $1.png).width / 2)) + 150 ,%yd $int($calc($window(@pacman).bh / 2 - $pic($scriptdir $+ $1.png).height / 2)) + 150
    pacman_loop
    if ($1 == 3) pacman_infos init
    drawpic -ctn @pacman 16777215 %xd %yd $qt($scriptdir $+ $1.png)
    drawdot @pacman
  }
  else {
    .timerpacclient off
    .timer -h 1 0 pacclient_soon 3
    .timerpacclientsoon -m 2 1000 pacclient_soon $!calc($timer(pacclientsoon).reps +1)
  }
}

Notice the '|' cursor on line 2, you can see that the first { in the code is also highlighted
No tags attached.
Issue History
2013-05-17 09:30WimsNew Issue
2013-05-17 14:26administratorStatusnew => closed
2013-05-17 14:26administratorAssigned To => administrator
2013-05-17 14:26administratorResolutionopen => fixed
2013-05-17 14:26administratorFixed in Version => 0.4.1.0

There are no notes attached to this issue.