Closed ExperienceRO closed 9 months ago
The bug description is very vague, but if this is the same issue I'm having, I can add some additional information:
For the following scenarios make sure Prompt Syntax Highlighting is turned on.
Add the following text (without quotes) into positive prompt and double click on middle of text2:
"text1, text2, text3"
Expected behavior: "text2" is highlighted.
Actual behavior: "text2" is highlighted, so it works as intended.
Make sure there is no text in the positive prompt, than add the following text and try to select text2:
" text1, text2, text3"
Notice that the text starts with two spaces.
Expected behavior: "text2" is highlighted.
Actual behavior: ", tex" is highlighted. Also the two spaces at the beginning of the text are not shown.
NOTE: in the above image the text is selected by click and drag; if the text is selected by double-click than it looks like this:
Exactly!! In the example below, I've skipped a line, so the text is actually at the bottom and there's nothing on the top line where the highlight is.
The bug description is very vague, but if this is the same issue I'm having, I can add some additional information:
For the following scenarios make sure Prompt Syntax Highlighting is turned on.
Scenario 1:
Add the following text (without quotes) into positive prompt and double click on middle of text2: "text1, text2, text3" Expected behavior: "text2" is highlighted. Actual behavior: "text2" is highlighted, so it works as intended.
Scenario 2:
Make sure there is no text in the positive prompt, than add the following text and try to select text2: " text1, text2, text3" Notice that the text starts with two spaces. Expected behavior: "text2" is highlighted. Actual behavior: ", tex" is highlighted. Also the two spaces at the beginning of the text are not shown.
NOTE: in the above image the text is selected by click and drag; if the text is selected by double-click than it looks like this:
I can add to this, it looks like it's not taking the formatting into account, here it highlights a non bold version of what's actually in the loras, this glitch has been plaguing my experience for months
https://github.com/lobehub/sd-webui-lobe-theme/assets/20817233/1393eaa4-b03a-4b24-9547-266a587ecd1a
Worst is, that should be something easy to fix, it's some CSS issue I guess...
✅ @ExperienceRO
This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。
💻 系统环境 | Operating System
Windows
🌐 浏览器 | Browser
Microsoft Edge Ver. 118.0.2088.69 (Compilação oficial) (64 bits)
📦 SD Wbui 版本或提交 | Version or Commit
v1.6.0 - https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/5ef669de080814067961f28357256e8fe27544f4
📦 Lobe Theme 版本或提交 | Version or Commit
51acc6e7
🐛 问题描述 | Bug Description
Whenever you need to select a part of the prompt, the part you're selecting is never the actual part being selected, because the highlighting is all wrong.
🚦 期望结果 | Expected Behavior
When you select a part of the promtp, this is the part that should be selected.
📷 复现步骤 | Recurrence Steps
Typing prompts and then selecting a part of the prompt to correct or delete or whatever.
📝 补充信息 | Additional Information
No response