Aptivi - Manual
ProjectsWebsiteBlog
Textify - Manual
Textify - Manual
  • Welcome
  • Breaking changes
  • Usage
    • How to use
      • Basic Features
        • Text Manipulation
        • Other Tools
      • Extra Features
        • Space Analysis and Correction
        • Unicode Analysis
        • Semantic Versioning
        • Name Generation
        • Word Management
        • Accessibility Tools
        • Figlet Text
        • Emoji Management
        • Wide Characters
    • How it works
      • Space Analyzer Internals
      • Unicode Analyzer Internals
      • Semantic Versioning Internals
      • Name Generation Internals
      • Word Selection Internals
      • Figlet Text Internals
  • Report an issue
  • Source code
  • API Reference
Powered by GitBook
On this page
Edit on GitHub
  1. Usage
  2. How to use

Extra Features

We have extra features!

Last updated 6 months ago

Textify also provides extra features in order to make various operations, such as Unicode analysis, semantic versioning, and word management, easier than before. Some of these features are located in the main Textify library, and some others are located in the Textify.Data library. Click on a feature that you want to learn about in the sidebar to get information about one of these features.

The following features are available in Textify.Data:

The following features are available in the base Textify library:

Unicode character width

For applications that need to deal with the Unicode character width as in console cells, we've introduced this fine feature from Terminaux that allows you to query a Unicode character for its width, such as modifier characters that take up zero console cells (i.e. zero width characters), English letters that take up one cell (i.e. half-width characters), and Chinese characters that take up two cells (i.e. full-width characters).

Please note that this information doesn't indicate the string length either by the amount of UTF-8 characters or by the text element as StringInfo class returns. This indicates how many console grid cells a character or a sentence consumes. For example, when an application tries to get the string length that contains zero-width or full-width characters, it doesn't indicate the number of cells, but the number of absolute characters, so Chinese characters are considered as one character that takes up two cells and Arabic modifier characters are considered as one character that takes up zero cells. If you want to measure the correct string length as how it would show up on a console, you should use this feature. The easiest way to use it is to rely on Terminaux's character extensions.

Name Generation
Unicode Analysis
Word Management
Figlet Text
Emoji Management
Space Analysis and Correction
Semantic Versioning
Accessibility Tools
Wide Characters