Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Stata 15: Mac .do file editor issues

    Stata 15 on a Mac (Sierra 10.12.4), I am seeing some 'glitchy' behavior.

    Specifically:
    • Clicking to edit on any empty line immediately makes that line jump to the top on the .do file editor- is this a new intentional feature?
    • I am also seeing heavy black lines on the L-side border of the editor that then disappear with scrolling after a long pause.
    • Line of text are occasionally split horizontally, with half the text offset (see screen shot).
    • I am unable to add bookmarks (clicking on L gutter) to some .do files (sometimes).
    Anyone else seeing this?
    Attached Files
    Last edited by Andrew Lover; 12 Jun 2017, 07:04. Reason: added screen shot
    __________________________________________________ __
    Assistant Professor, Department of Biostatistics and Epidemiology
    School of Public Health and Health Sciences
    University of Massachusetts- Amherst

  • #2
    Yeah I'm seeing the jumping issue you describe - it's annoying.
    Eric A. Booth | Senior Director of Research | Far Harbor | Austin TX

    Comment


    • #3
      In the meantime, I've been using this to start new do files.

      It's not an ideal solution and it doesnt fix existing do-files (though I suppose you could write something similar to read in existing do-files, write a space or tab character to the start of each line (I tried highlighting my entire do file and right click and select advanced>shift right to insert a tab character at the start of each line to avoid the jumping around but it doesnt work - the dofile editor still jumps when you click those lines).

      Code:
      **blankdo (save as an adofile and put in personal folder and type -discard-)
      **hopefully temp file to write file of spaces to avoid jumping in do editor*
       program def blankdo
      syntax using/ [, NUMlines(integer 1000) REPLace OPEN]
      cap file close handle1
          if `"`=substr(`"`using'"', -3, .)'"'!= ".do" local using  `using'.do
      file open handle1 using `"`using'"' , write `replace'
      
       
      forval n = 1/`numlines'  {
          file write handle1 `" "'  _newline(1)
          }
          
      file close handle1
      
          **if open opt, then doedit the blank file
          if !mi(`"`open'"') doedit `"`using'"'
      end
      Last edited by eric_a_booth; 12 Jun 2017, 07:44.
      Eric A. Booth | Senior Director of Research | Far Harbor | Austin TX

      Comment


      • #4
        I can't reproduce the empty line jumping problem. However, I believe that and some other issues have been fixed (one bug was the source of a few seemingly unrelated issues). A future update will address these issues.
        Last edited by Chinh Nguyen (StataCorp); 12 Jun 2017, 08:32.
        -Chinh Nguyen

        Comment


        • #5
          Great- thanks for looking into it, and look forward to the update.
          Last edited by Andrew Lover; 12 Jun 2017, 08:58.
          __________________________________________________ __
          Assistant Professor, Department of Biostatistics and Epidemiology
          School of Public Health and Health Sciences
          University of Massachusetts- Amherst

          Comment


          • #6
            Andrew Lover maybe updating your OS will fix it? I run 10.12.5 and haven't encountered that behavior.

            Comment


            • #7
              I run the latest OSX, but the "jump problem" is also happening.

              Comment


              • #8
                Originally posted by Nick Bornschein View Post
                I run the latest OSX, but the "jump problem" is also happening.
                Please verify that Stata 15 is up to date. We put out an update on June 19th that should've fixed the problem.
                -Chinh Nguyen

                Comment

                Working...
                X