Loading ...
Sorry, an error occurred while loading the content.

47214Bug: Nested, transparent syntax regions

Expand Messages
  • hamlen
    Jul 31, 2007
      Bug: A nested, transparent syntax region loses its transparency when
      extending its containing region.

      Reproducible: Always

      Steps to Reproduce:
      1. Execute the following three commands:
      :syntax region braces start="{" end="}" contains=parens
      :syntax region parens start="(" end=")" transparent contains=NONE
      :hi def braces guifg=Red
      2. Type the following text: {this(is}not)red}

      Actual result: The characters "not)" are not displayed in red.

      Expected result: All the text should be displayed in red.

      Additional info:
      The bug only seems to occur when the nested region is transparent.
      Nested regions with their own coloration work properly.

      VIM - Vi IMproved 7.1 (2007 May 12, compiled May 12 2007 14:19:39)
      MS-Windows 32 bit GUI version with OLE support
      Compiled by Bram@KIBAALE
      Big version with GUI. Features included (+) or not (-):
      [...default installation...]

      You received this message from the "vim_dev" maillist.
      For more information, visit http://www.vim.org/maillist.php
    • Show all 5 messages in this topic