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]

st: Highlighting text in the Stata do-file editor


From   Gabi Huiber <ghuiber@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Highlighting text in the Stata do-file editor
Date   Wed, 16 Jun 2010 13:21:26 -0400

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/


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