Questions tagged [folding]

Code folding is a feature of some text editors and IDEs that allow some text to be temporarily hidden or "collapsed" in order to hide detail.

Most text editors and IDEs offer some way of hiding sections of the code in order to traverse the code more easily, only view the code currently being edited, and to show an outline of what code currently is in the file.

What code counts as a section and hence can be hidden, can be user specified or automatically added based on the syntax of the language, indentation or tokens (such as brackets).

454 questions
-1
votes
1 answer

Feature request for a text-editor with support for literate programming

This is a feature request for the writers of Visual Studio and any other programmer's editor. Consider a literate program as follows: /* File Name: LiterateProgram.h */ // \begin{comment} #pragma once #include "myHeader.h" /*…
vo1stv
  • 55
  • 2
  • 17
-2
votes
1 answer

How to use foldl/foldr on strings in a state machine?

I have to make a state machine, which equals a text editor's search funtion. I need to use foldl/foldr to apply the function to every character of a string. I have a few states, which I have to work with: type State = Int start :: State start =…
-3
votes
3 answers

Origami/accordion effect on Android

Can anyone tell me is there a tutorial out there to acheive similar to this on Android mobile devices? GIF Image YouTube Video I have looked online but I dont even know what this effect is called? Searching for origami returns origami apps and…
heyred
  • 2,031
  • 8
  • 44
  • 89
-4
votes
1 answer

jquery/css folding animation effect

How to create the effect of folding 'div' horizontally by click on child (see below)?
1 2 3
30
31