campaignnomad.blogg.se

What is a text editor in coding
What is a text editor in coding




what is a text editor in coding

Another variant of code folding is "data folding", which is implemented in some hex editors and is used to structure a binary file or hide inaccessible data sections in a RAM editor. Text folding is a similar feature used in folding editors, outliners, and some word processors, but is used for ordinary text and, if automatic, is based on syntax of human languages, particularly paragraphs, or section levels, rather than syntax of a computer language.

what is a text editor in coding

This feature is commonly used by some computer programmers to manage source code files, and is also frequently used in data comparison, to only view the changed text. Many editors provide disclosure widgets for code folding in a sidebar, next to line numbers, indicated for example by a triangle that points sideways (if collapsed) or down (if expanded), or by a box for collapsible (expanded) text, and a box for expandable (collapsed) text. Identification of folds can be automatic, most often based on the syntax of the computer language in question, indentation, or manual, either based on an in-band marker (saved as part of the source code) or specified out-of-band, only within the editor. This allows the user to manage large amounts of text while viewing only those subsections of the text that are specifically relevant at any given time. Code folding example on PHP code with VimĬode folding or less commonly holophrasting is a feature of some text editors, source code editors, and IDEs that allows the user to selectively hide and display – "fold" – sections of a currently edited file as a part of routine edit operations.






What is a text editor in coding