GridinSoftProductsServiceGridinSoft Forum
GridinSoft Notepad


Tutorials


Code folding allows to collapse (hide) and expand certain parts of the document. These parts are called folds and they can be nested (fold can contain another fold). The fold can occupy more lines but it can be also just part of the one line. Folds are visualized in the document.

Code folds are created by editor depending on supported fold types for a particular source code. When a file is opened, all folds are identified and expanded by default, so the user can see the whole source code. However, he can define which fold types are collapsed when he opens a file.

Text Editor: Code Folding

Folding Margin

Folding margin is placed next to the margin for annotations glyphs and line numbers. However, it is visible only in documents which have the code folding feature turned on.

It is used for displaying these signs:

  • Plus sign - appears at the first line of a collapsed fold
  • Minus sign - appears at the first line of an expanded fold
  • Ending sign - appears at the last line of an expanded fold
  • vertical line - appears between Minus sign and Ending sign of an expanded fold

Plus sign and Minus sign can be clicked by mouse. Clicking on Plus sign sign expands the fold. Clicking on Minus sign collapses the fold.

If showing of the line numbers is activated and some fold is collapsed, line numbers ordering is changed accordingly.

There are two code folding options that may be selected from the Format menu: Expand All and Collapse All.

Expand All

When this command is invoked from the Format menu, all blocks in the active file bounded by Indent/Unindent Strings defined in the active wordfile would be expanded.

Collapse All

When this command is invoked from the View menu, all blocks in the active file bounded by the Indent/Unindent Strings defined in the active wordfile would be collapsed.

Features
  • Adjustable modes of code highlighting
  • Built-in Spell Checker
  • HEX editor
  • UNICODE support
  • Code Folding
  • Keymapping (Default, FAR, Visual Studio)
  • Code Templates
  • Auto Correction
  • Console Output
  • Multi Interface styles
  • Multilingual interface
  • Regular expressions
  • Evaluate Math Expressions
  • Brackets highlighting
  • Print with syntax highlighting
  • Print preview
  • Page Setup
  • Bookmarks
  • Export the text to RTF,HTML and LaTeX format
  • Windows/Unix/Mac file formats support
  • Drag-and-Drop support
Software
Discuss in Forum
Outsourcing Service
If you need any kind of web or software solution, you are in the right place. If your company is in web and/or software development business, you are still in the right place.

GrdinSoft Development provides high-quality outsourcing solutions for both direct customers and development companies. Read more
   


Terms of usePrivacy StatementPrivacy StatementCopyright