Release 3.3.2 next week

57 views
Skip to first unread message

Neil Hodgson

unread,
May 14, 2013, 11:54:19 PM5/14/13
to scintilla...@googlegroups.com, scite-i...@googlegroups.com
   Enough changes are ready for a new release early next week.

   A rough change list:
  • Basic implementations of common folding methods added to Scintilla to make it easier for containers to implement folding.
  • Add indicator INDIC_COMPOSITIONTHICK, a thick low underline, to mimic an appearance used for Asian language input composition.
  • On Cocoa, implement font quality setting. Feature #988.
  • On Cocoa, implement automatic enabling of commands and added clear command. Feature #987.
  • C++ lexer adds style for preprocessor doc comment. Feature #990.
  • Haskell folder improved. Bug #1459 .
  • LaTeX lexer bug fixed for Unicode character following '\'. Bug #1468 .
  • PowerShell lexer recognises here strings and doccomment keywords. #region folding added. Feature #985.
  • Fix multi-typing when two carets are located in virtual space on one line so that spaces are preserved.
  • Fixes to input composition on Cocoa and implementation of accented character input through press and hold. Set selection correctly so that changes to pieces of composition text are easier to perform. Restore undo collection after a sequence of composition actions. Composition popups appear near input.
  • Fix lexer problem where no line end was seen at end of document.
  • Fix crash on Cocoa when view deallocated. Bug #1466.
  • Fix Qt window positioning to not assume the top right of a monitor is at 0, 0.
  • Fix Qt to not track mouse when widget is hidden.
  • Qt now supports Qt 5.0. Bug #1448.
  • Fix drawing on Windows with Direct2D when returning from lock screen. The render target had to be recreated and an area would be black since the drawing was not retried.
  • Fix display of DBCS documents on Windows Direct2D/DirectWrite with default character set.
  • For SciTE on Windows, fixed most-recently-used menu when files opened through check.if.already.opened.
  • In SciTE, do not call OnSave twice when files saved asynchronously.
  • Scintilla no longer builds with Visual C++ 6.0.
   Neil

Neil Hodgson

unread,
May 16, 2013, 7:11:46 PM5/16/13
to scite-i...@googlegroups.com, scintilla...@googlegroups.com
   A pre-release of 3.3.2 can now be tried.

   Please report any regressions from 3.3.1.

 Change list:
    • Basic implementations of common folding methods added to Scintilla to make it easier for containers to implement folding.
    • Add indicator INDIC_COMPOSITIONTHICK, a thick low underline, to mimic an appearance used for Asian language input composition.
    • On Cocoa, implement font quality setting. Feature #988.
    • On Cocoa, implement automatic enabling of commands and added clear command. Feature #987.
    • C++ lexer adds style for preprocessor doc comment. Feature #990.
    • Haskell lexer and folder improved. Separate mode for literate Haskell "literatehaskell" SCLEX_LITERATEHASKELL. Bug #1459 .
    • LaTeX lexer bug fixed for Unicode character following '\'. Bug #1468 .
    • PowerShell lexer recognises here strings and doccomment keywords. #region folding added. Feature #985.
    • Fix multi-typing when two carets are located in virtual space on one line so that spaces are preserved.
    • Fixes to input composition on Cocoa and implementation of accented character input through press and hold. Set selection correctly so that changes to pieces of composition text are easier to perform. Restore undo collection after a sequence of composition actions. Composition popups appear near input.
    • Fix lexer problem where no line end was seen at end of document.
    • Fix crash on Cocoa when view deallocated. Bug #1466.
    • Fix Qt window positioning to not assume the top right of a monitor is at 0, 0.
    • Fix Qt to not track mouse when widget is hidden.
    • Qt now supports Qt 5.0. Bug #1448.
    • Fix drawing on Windows with Direct2D when returning from lock screen. The render target had to be recreated and an area would be black since the drawing was not retried.
    • Fix display of DBCS documents on Windows Direct2D/DirectWrite with default character set.
    • For SciTE on Windows, fixed most-recently-used menu when files opened through check.if.already.opened.
    • In SciTE, do not call OnSave twice when files saved asynchronously.
    • Scintilla no longer builds with Visual C++ 6.0.
         Available from the Mercurial repositories:
         Neil

      Ashwin Hirschi

      unread,
      May 16, 2013, 8:55:23 PM5/16/13
      to scite-i...@googlegroups.com, scintilla...@googlegroups.com, nyama...@me.com
      I noticed several new folding methods in the Pane API. Since new arrival FoldAll only has an action parameter, I half-expected editor:FoldAll(2) to act like the Toggle-all-folds command. But, although contraction seem to work fine, expansion only changes the plus signs in the fold margin into minus ones. 

      Is this the intended behaviour?

      Ashwin.

      Neil Hodgson

      unread,
      May 17, 2013, 12:00:31 AM5/17/13
      to scite-i...@googlegroups.com
      Ashwin Hirschi:

      > I noticed several new folding methods in the Pane API. Since new arrival FoldAll only has an action parameter, I half-expected editor:FoldAll(2) to act like the Toggle-all-folds command. But, although contraction seem to work fine, expansion only changes the plus signs in the fold margin into minus ones.

      Thanks. It was trying to show a line 1 beyond the file end and errored out.

      Fixes committed and uploaded.

      Neil

      Ashwin Hirschi

      unread,
      May 17, 2013, 12:52:03 AM5/17/13
      to scite-i...@googlegroups.com, nyama...@me.com
      > Fixes committed and uploaded.

      Yes, it works fine now.

      Btw, I'm also pleased to see that editor:FoldAll(2) expands (much) quicker than the old toggle-all command (from the View menu) does. Though I haven't checked, I suspect that the menu command doesn't suppress some UI updates.

      On my machine the scrollbar sometimes got insanely busy when expanding a file with several hundred top level folds... Using the new folding method fixes this. Now expansion is near-instantaneous. Nice!

      Ashwin.

      Neil Hodgson

      unread,
      May 17, 2013, 2:59:12 AM5/17/13
      to scite-i...@googlegroups.com
      Ashwin Hirschi:

      > Btw, I'm also pleased to see that editor:FoldAll(2) expands (much) quicker than the old toggle-all command (from the View menu) does. Though I haven't checked, I suspect that the menu command doesn't suppress some UI updates.

      The first thing it does is to unconditionally show all lines. SciTE finds all top level fold headers and recursively shows their children.

      > On my machine the scrollbar sometimes got insanely busy when expanding a file with several hundred top level folds... Using the new folding method fixes this. Now expansion is near-instantaneous. Nice!

      The SciTE code was written to allow more features like showing all of the top two levels of folds but that was never implemented. I wanted a slider on the toolbar that could be moved to show progressive levels of detail.

      Neil

      Neil Hodgson

      unread,
      May 19, 2013, 9:00:27 AM5/19/13
      to scintilla...@googlegroups.com, scite-i...@googlegroups.com
         There were some problems with Japanese language input on OS X 10.6. One was for a call that is only available on OS X 10.7+ so there is a workaround for that using an old call that is deprecated in 10.7.

         The others were in platform-independent code so could affect other platforms. The second problem was reading from a NULL pointer - in the previous version this read beyond the end of a zero-length allocation. The third was in failing to display a Japanese character at the start of a line and was caused by a mistake in converting to using a std::vector.

         A folding bug was fixed for Haskell.
      Reply all
      Reply to author
      Forward
      0 new messages