Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: Highlighting text in the Stata do-file editor


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Highlighting text in the Stata do-file editor
Date   Wed, 16 Jun 2010 23:41:43 +0200

<>

Joao, I think there is a difference between syntax hiliting, i.e. coloring
certain commands in certain ways, and hiliting a word or line, as you would
do in any text processor. Gabi apparently is referring to the latter.


HTH
Martin

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Joao Ricardo F.
Lima
Sent: Mittwoch, 16. Juni 2010 23:18
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: Highlighting text in the Stata do-file editor

Gabi,

from - help whatsnew10to11-

 6.  The Do-file Editor under Windows is all new, too.  Syntax
highlighting and code folding are provided.

Only in Stata 11 that the sintax highlight, not in Stata 10.

HTH,

Joao Lima

2010/6/16 Gabi Huiber <ghuiber@gmail.com>:
> I am having a strange problem with my home installation of Stata --
> latest 10.1 MP on Windows 7 currently, but it was present on XP too.
> It's that when I occasionally edit do-files in the built-in editor,
> the text highlighting is off. For example, I cannot highlight
> precisely either `path' or `file' in the line
>
> run `path'`file'
>
> Instead, the highlighted section expands, in seemingly arbitrary
> fashion, to include either both words or errant apostrophes as in
> `path'` or '`file'.
>
> This does not happen on the work setup -- Stata 11.0 MP on Windows 2008
Server.
>
> I used to think it was a Windows XP quirk but it has persisted on
> Windows 7 and it looks like it's peculiar to Stata: highlighting works
> properly in both Notepad and Vim.
>
> Has anybody else seen this?
>
> Thank you,
>
> Gabi
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>



-- 
----------------------------------------
Joao Ricardo Lima, D.Sc.
Professor
UFPB-CCA-DCFS
Fone: +558387264913
Skype: joao_ricardo_lima
----------------------------------------

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index