Giter VIP home page Giter VIP logo

Comments (5)

tosher avatar tosher commented on September 28, 2024

Please check the new version
https://github.com/tosher/Mediawiker/releases/tag/v3.6.14

from mediawiker.

wunditta avatar wunditta commented on September 28, 2024

Thanks, it seems to work now...
... although I must admit I am not sure if I understood the full intention behind the whole folding/unfolding thing. Very likely I am wrong, but this is how I would expect the behavior:

Fold X: I'd expect that all headings from X and higher are folded, all headings less than X are unfolded. This is partly the case. Fold 3 does this. But when I do a fold 4 or 5 afterwards, nothing happens. So only the first part of the expected behavior is true, but headings < X are not unfolded. I might think that it would make more sense to do something (unfolding < X) than nothing happens. Because of this you now have to Unfold all and then Fold again (e.g. Fold 3, Unfold all, Fold 4).

Unfold X: I expected it may unfold >= X (but was not hoping any more it would fold < X ;-) ). But after some tests, as I understood it, the behavior is like this: In a fully unfolded tree nothing happens. If it is folded, e.g. Fold Y=2 and then a Unfold X=4 will unfold all headings (so from Y to 5) for any Y branch of the heading hierarchy where there is a heading X below Y (so the whole branch is unfolded). All Y headings will stay folded if this is not the case. If this is intended behavior I must admit I am not aware of the use case this is needed (but that doesn't mean anything).

Sorry, for this complicated post. Just ignore it, if it went too far. The current behavior is good to live with :-). Thanks again!

from mediawiker.

reagle avatar reagle commented on September 28, 2024

BTW: How do we fold tags, as mentioned in the readme? When I "fold text blocks" it folds the contents of templates, but I don't see tags...?

from mediawiker.

tosher avatar tosher commented on September 28, 2024

Headings foldling/infolding is the same as level-folding in Sublime text

https://docs.sublimetext.io/reference/commands.html#fold-by-level

Tags - like pre, source and other non-inline blocks.

from mediawiker.

reagle avatar reagle commented on September 28, 2024

Oh, I thought this could be used to fold tags, but those are inline.

from mediawiker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.