Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Code Property Editor

Code Property Editor Property Grid Editor GrooperReview.Controls.PropertyGrid

Editor for properties that contain expressions, providing a configurable code editor with syntax highlighting and completion.

Remarks

The Code Property Editor control enables users to view, edit, and validate code expressions associated with Grooper properties. It is designed for properties that require custom logic, such as calculations, validations, or dynamic behaviors. The editor supports syntax highlighting, code completion, and advanced editing features for a wide range of expression types, including Visual Basic, regular expressions, and Grooper-specific scripting.

UI Components

  • Code Editor:
    • Provides a multi-line text editing area for entering and modifying code expressions.
    • Supports syntax highlighting for the target language or format.
    • Offers code completion popups and context-aware suggestions.
    • Configurable appearance, including word wrap and control character visibility.
    • Context menu with commands for editing, commenting, and clipboard operations.
  • Class Help:
    • Displays contextual help and documentation for the class or object type of the property.
    • Includes summary, remarks, usage guidance, and links to related topics.

Interactive Features

  • Code Editing:
    • Edit code expressions directly in the editor, with real-time syntax validation and completion.
    • Use keyboard shortcuts for efficient editing: Ctrl + A to select all, Ctrl + Shift + Space for completion.
    • Toggle word wrap (Alt + W) and control character visibility (Alt + S).
    • Use context menu commands for cut, copy, paste, undo, redo, comment, and uncomment.
  • Session Persistence:
    • The current code and editor settings are saved to the session for consistency across interactions.
  • Help Integration:
    • Access class-level help for the property type, including documentation and usage examples.

Usage Guidance

Use the Code Property Editor to configure expressions, scripts, or logic for Grooper properties. Leverage syntax highlighting and code completion for efficient editing. Review class help for guidance on valid syntax, usage scenarios, and best practices.

  • For validation and calculation properties, enter the required logic using supported syntax.
  • Use code completion and context menu commands to streamline editing.
  • Review help content before making significant changes to expressions.

Accessibility

  • Fully navigable by keyboard and mouse.
  • Screen reader support for editor content, help, and context menu commands.
  • Visual cues for selection, focus, and error feedback.

Child Controls

NameTypeSummary
Notification