SpellcheckString QControl

From LabVIEW Wiki
Jump to: navigation, search
SpellcheckString QControl showing suggestions in right-click menu.

The SpellcheckString is a QControl that inherits from and extends the String control. It implements run-time spell checking inside of a String control. It highlights misspelled words by underlining and changing the color to red. Right-clicking on a misspelled word opens a menu with the suggestions and an option to add word to dictionary.

  • Selecting a suggestion replaces the word for the suggestion
  • Selecting "Add to Dictionary" adds the word and removes the highlight

It requires the QControl Toolkit to run which can be downloaded from the LabVIEW Tools Network here:

The QControl Toolkit on the LabVIEW Tools Network

LabVIEW Version

This code is currently published in LabVIEW 2018.

Source Code

The source for the SpellcheckString QControl can be found here:

QSI Shared QControls on GitLab

Build Instructions

The SpellcheckString.lvclass and all its members; the SpellcheckEngine.lvclass, its child classes and all its members; and the Dictionary.lvclass, its child classes and all its members can be distributed with a project and built into the using application.

The SpellcheckEngine.lvclass, its child classes and all its members; and the Dictionary.lvclass, its child classes and all its members can be used separate from the SpellcheckString.lvclass if it is desired to implement in another way.

Installation Guide

The SpellcheckString.lvclass and all its members; the SpellcheckEngine.lvclass, its child classes and all its members; and the Dictionary.lvclass, its child classes and all its members can be distributed with a project and built into the using application.

The SpellcheckEngine.lvclass, its child classes and all its members; and the Dictionary.lvclass, its child classes and all its members can be used separate from the SpellcheckString.lvclass if it is desired to implement in another way.

Execution

See documentation distributed with the QControl Toolkit.

Support

Submit Issues or Merge Requests through GitLab.