• Login
Community
  • Login

XAML Regions Not Supported

Scheduled Pinned Locked Moved General Discussion
2 Posts 2 Posters 231 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    jeronymite2
    last edited by May 28, 2020, 10:32 PM

    NPP does not seem to honour regions for XAML, as documented at https://stackoverflow.com/questions/2888347/region-in-xaml/5163011 .

    For example,

    <!--#region MyRegion-->
    <!-- Lots of XAML! -->
    <!--#endregion-->
    

    should result in collapse/expand capability of the region, but does not.

    Can this be implemented?

    Thanks.

    E 1 Reply Last reply May 29, 2020, 7:24 AM Reply Quote 0
    • E
      Ekopalypse @jeronymite2
      last edited by May 29, 2020, 7:24 AM

      @jeronymite2 said in XAML Regions Not Supported:

      <!–#region MyRegion–>
      <!-- Lots of XAML! -->
      <!–#endregion–>

      Npp uses scintilla as a lexer for languages and avoids modifying
      individual languages in order to make upgrading to a newer scintilla
      version as easy as possible. This means that scintilla has to do it to be
      added to npp one day

      1 Reply Last reply Reply Quote 1
      • N Noreh AD referenced this topic on Jun 8, 2022, 7:23 AM
      • N Noreh AD referenced this topic on Jun 8, 2022, 7:24 AM
      2 out of 2
      • First post
        2/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors