Re: Double click and TeX
> For example having
>
> \newcounter{rS}
>
> \newcommand{\Chap}[2]{\section{#2}\label{c#1}}
>
>
\newcommand{\RChap}[1]{\stepcounter{subsection}\setcounter{rS}{0}\section*{\ref{c#1}.\quad
> Remarks}\label{r#1}}
>
> Double clicking rS , \newcounter, or Remarks they become
> selected, double clicking newcommand does not select it but
> places the cursor at the closing brace (this is possibly
> wanted), but the most strange is that double clicking \Chap
> does not select it (to be copied) but just places the cursor
> before the d in \newcommand.
>
> Even more strange is the fact that double clicking \quad also
> does not select it but places the cursor before the star.
>
> Possibly this is due to the presence of \ref and/or \label, but
> I do not see the exact relation.
Options -> Settings| Active Strings. Disable all double-click
responses and you will get a consistent simple behavior.
In particular, \?ref is too much of a wild-card but you may
want to disable all of them.
I will (now) revisit this double-click active string activation
so that a wildcard following a backslash does not extend beyond
{ or \. This will filter most unwanted responses described
above (regardless of your active string settings)... But you
may still disable the active strings that are bothering you.
OK?
> (I am now using Build: 20080429 (v. 5.6), but It seems to me
> that with 5.5 I had similar problems)
WinEdt 5.6 maybe but not with the default settings. In Defaults
there is no problem with \quad. Only \<items> in front of \ref
invoke delimiter matching as an active string response.
Defaults don't have any wild-card labels defined as active
strings -- but your settings probably do
Best regards,
alex