|
|
1
1
textSelection类型的textDocument.Selection属性具有textPane属性-请参见 here 更多信息。它并没有明确地这么说,但文本窗格是屏幕上可见的部分。此外,文本窗格的StartPoint属性提供滚动文本的“偏移量”。 因此,我可以通过从选择的起点减去textfane.startpoint来确定偏移光标位置:
|
|
|
Helic · 引用项目中的Visual Studio生成事件 2 年前 |
|
|
Fardin Jim · React中的HandleError 2 年前 |
|
Sam · 返回Visual Studio中文档注释中的标记 2 年前 |
|
|
Natty · Visual Studio中缺少“代码覆盖率结果” 2 年前 |
|
|
xTMx · 如何修复恢复自定义Nuget软件包的问题? 2 年前 |
|
|
CCarter · 只能在设计器中DependencyObject的DependencyProperty上设置显示“Binding”的WPF ICommand DependencyProperties[重复] 2 年前 |
|
|
Max · VS 2022中的缩放级别在哪里 2 年前 |