vb(9)
[Home]
[Commands]
[Variables]
[Macro-Dev]
[Glossary]
SYNOPSIS
bas, cls - Visual Basic file
FILES
EXTENSIONS
MAGIC STRINGS
DESCRIPTION
The Visual Basic template performs the hilighting of Visual Basic files. The file type is recognised by the standard extension, or by the inclusion of the magic string.
Hilighting
The hilighting features allows components of the language to be differentiated and rendered in different colors.
Auto Layout
Folding and Information Hiding
Generic folding is enabled within VisualBasic files. The folds occur about Function and Subroutine definitions located on the left-hand margin and their End mark which is located at the beginning of a line.
collapse-all(3) (un)folds all regions in the file,
collapse-current(3) (un)folds the current region.
Navigation via Item List
The VisualBasic mode offers beside folding as well support for displaying an outline of the Functions and Subroutines for easy navigation using the
item-list(3) command.
Tags
A C-tags file may be generated within the editor using the Tools -> VB-Tools -> Generate Tag File.
find-tag(2) takes the user to the file using the tag information.
Short Cuts
The short cut keys used within the buffer are:-
C-c C-c - Comment out the current line.
C-c C-d - Uncomment the current line.
C-c esc esc - Command complete.
A-C-i - Restyle the current region.
f2 - (Un)fold the current region.
f3 - (Un)fold all regions.
f6 - List items.
esc f6 - Close item list.
SEE ALSO
(c) Copyright JASSPA 2025
Last Modified: 2025/07/23
Generated On: 2025/09/29