softmgr
softmgr
@zufuliu 此问题有进展吗?
> > 此问题有进展吗? > > No. 我也跟踪过代码,它是在自动换行切换时,运行到 Editor.cxx 中的代码: ``` void Editor::InvalidateStyleRedraw() { NeedWrapping(); InvalidateStyleData(); Redraw(); } ``` 接着,再进行消息WM_PAINT的过程中变得无响应的。它在进行界面刷新进行了大量的运算,我猜这些运算应该是可以优化的。
多线程换行还是会卡顿,这个在n++中已经测试过了。
@zufuliu 我今天找到一些线索,切换自动换行时(从关闭切换到打开自动换行),此时CPU占用率会变高几秒钟,在此期间可以使用鼠标点击和滚动界面,都能流畅定位光标,这很好。但是,如果马上按键盘上的方向键(从文件尾,按上方向键),则整个编辑器会立即失去响应,直到前面说的CPU占用率下降后,光标位置才能得到响应。这一现象在np4,np++中都得到了一样的测试结果:这充分说明它是scintilla组件的性能问题。 经测试,修改 Editor.cxx 的代码,可以解决上述提到的问题。 ``` void Editor::MovedCaret(SelectionPosition newPos, SelectionPosition previousPos, bool ensureVisible, CaretPolicies policies) { const Sci::Line currentLine = pdoc->SciLineFromPosition(newPos.Position()); if (ensureVisible) { // In case in need of...
> [notepad4/scintilla/src/Editor.cxx](https://github.com/zufuliu/notepad4/blob/41f4fe9f611799d883a1f2019f1af3c931f693d1/scintilla/src/Editor.cxx#L1807-L1815) > > Lines 1807 to 1815 in [41f4fe9](/zufuliu/notepad4/commit/41f4fe9f611799d883a1f2019f1af3c931f693d1) > > // Wrap the visible lines if needed. > if (WrapLines(WrapScope::wsVisible)) { > // The wrapping process has changed...
> 一般过滤软件都支持白名单的,按照格式导入就行了。比如 AdGuard 的 `@@||www.example.com^$important`。但前提是得先整理出这份奖励广告清单。 但是我不知道清单。。比如我用了你的过滤列表后,闲鱼的看视频奖励打不开了。但不知道是哪个网址被干掉了。
> 开日志,把被拦截的域名一个个放进白名单测试哪个是对的 能不能单独做一个去掉奖励视频广告的过滤列表?因为我个人能做的很有限,且没有那个精力去手工维护。
Currently, Notepad++ does not support long paths. Moreover, Windows 10/11 systems do not fully support long paths, such as entering a long path in Explorer and not being able to...
@donho I have modified some code and tested it successfully. However, after Notepad++ became compatible with long paths, some strange issues started to appear. These include crashes caused by third-party...
> This is due to the maximum path length limitation of Windows. In the Windows API, the maximum length of a path is MAX_PATH, defined as 260 characters. Once this...