当前位置: 动力学知识库 > 问答 > 编程问答 >

qt - Code editor screen or source line numbering in Qt5

问题描述:

I do have a CodeEditor, and use its setCursorToLine() method. It works fine, except if I have a long source code line (comments), which breaks, and the line numbering is shifted. Is there a similar function, which refers to the source line number rather than to the screen line number? Or any option, which solves the problem?

分享给朋友:
您可能感兴趣的文章:
随机阅读: