single-whitespace-text-editing

Crates.iosingle-whitespace-text-editing
lib.rssingle-whitespace-text-editing
version0.2.1
sourcesrc
created_at2022-06-16 22:42:52.784084
updated_at2024-09-20 23:02:09.379103
descriptionUtilities for a special editing style, where the only allowed whitespace is the space, and it's only allowed once at a time
homepagehttps://gitlab.com/porky11/single-whitespace-text-editing
repositoryhttps://gitlab.com/porky11/single-whitespace-text-editing
max_upload_size
id607693
size10,844
Fabio Krapohl (porky11)

documentation

https://docs.rs/single-whitespace-text-editing

README

Single Whitespace Text Editing

This crate provides utilities for a special editing style, where the only allowed whitespace is the space, and it's only allowed once at a time.

Features

  • Ensures that there is always exactly one whitespace character in a row, automatically removing any additional whitespace when necessary.
  • Provides an enum SingleWhitespaceEditAction and its associated functions for performing text editing operations based on the input character.
  • Offers a simple and efficient way to handle text editing operations with single whitespace handling.

Dependencies

This crate depends on the text-editing crate for text manipulation functionality.

Commit count: 18

cargo fmt