Skip to content

edit-attention: deselect surrounding whitespace#15178

Merged
AUTOMATIC1111 merged 2 commits intoAUTOMATIC1111:devfrom
catboxanon:feat/edit-attention-whitespace-trim
Mar 8, 2024
Merged

edit-attention: deselect surrounding whitespace#15178
AUTOMATIC1111 merged 2 commits intoAUTOMATIC1111:devfrom
catboxanon:feat/edit-attention-whitespace-trim

Conversation

@catboxanon
Copy link
Copy Markdown
Collaborator

@catboxanon catboxanon commented Mar 7, 2024

Description

Deselects any surrounding whitespace when editing prompt attention, which will only apply when whitespace is not part of the delimiters option (meaning this won't affect anything for most users since whitespace is part of the default set of delimiters -- but it's a nice QoL for those that don't include it).

Screenshots/videos:

Before

before

After

after

Checklist:

Co-authored-by: missionfloyd <missionfloyd@users.noreply.github.com>
@AUTOMATIC1111 AUTOMATIC1111 merged commit 8b96f3d into AUTOMATIC1111:dev Mar 8, 2024
@catboxanon catboxanon deleted the feat/edit-attention-whitespace-trim branch March 8, 2024 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants