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

synching for syntax-fold

Expand Messages
  • Johannes Zellner
    Hello, If a buffer becomes visible, folds are created newly as folds are a window property (and not a buffer property) and folds are not stored as buffer
    Message 1 of 1 , Dec 1, 2000
      Hello,

      If a buffer becomes visible, folds are created newly as
      folds are a window property (and not a buffer property)
      and folds are not stored as buffer properties.

      For xml, syntax items will not be that wrong if they're
      not created from beginning, but folds /must/ be created
      from the very beginning of the file. So I'd need something
      like

      syn sync fold fromstart
      ^^^^

      Or alternatively some fancy function which is triggered
      when the buffer becomes visible -- i.e. when it is attached
      to a window. What is the event for this ? WinEnter ?

      Does someone have good ideas about this ?

      --
      Johannes
    Your message has been successfully submitted and would be delivered to recipients shortly.