notepad4 icon indicating copy to clipboard operation
notepad4 copied to clipboard

HTML tag, 功能优化

Open cvlot opened this issue 1 year ago • 5 comments

Alt+X HTML tag, 不显示这个对话框, 直接前后插入tag 红色框这2个功能选项是一样的, 建议只保留一个选项, 另一个选项更改为tag内容定义

截图_2024-09-26_05·53·25

cvlot avatar Sep 25 '24 21:09 cvlot

红色框这2个功能选项是一样的, 建议只保留一个选项, 另一个选项更改为tag内容定义

"With ..." opens this dialog: image

"HTML/XML tag" will auto-complete closing tag when edit opening tag.

zufuliu avatar Sep 26 '24 09:09 zufuliu

@zufuliu 这两个功能选项, 有什么不同区别吗

cvlot avatar Sep 26 '24 13:09 cvlot

这两个功能选项, 有什么不同区别吗

https://github.com/zufuliu/notepad4/blob/bf26c21a7e377d74453eb1565e226897e2a28b60/src/Edit.cpp#L6315

https://github.com/zufuliu/notepad4/blob/bf26c21a7e377d74453eb1565e226897e2a28b60/src/Edit.cpp#L6390

zufuliu avatar Sep 26 '24 13:09 zufuliu

这2个选项功能使用起来是一样的, 可以删除其中一个, 并且不显示那个对话框

cvlot avatar Sep 26 '24 18:09 cvlot

这2个选项功能使用起来是一样的

EditInsertTag has code to auto clear closing tag for HTML void tag. https://github.com/zufuliu/notepad4/blob/11daafbdc36b44825c30cabc09f44ce1e569b4bb/src/Edit.cpp#L6451-L6457

zufuliu avatar Sep 27 '24 11:09 zufuliu