[VB]在VSIX扩展中的虚拟空间中导航 [英] [VB]Navigating In Virtual Space in a VSIX Extension

查看:58
本文介绍了[VB]在VSIX扩展中的虚拟空间中导航的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望在使用箭头键时允许用户在虚拟空间(行尾之后的空格)中导航。当然,我可以使用事件,属性和方法(例如BeforeExecute,CurrentColumn,MoveToDisplayColumn等)手动执行此操作,
但这需要额外的代码和变量。我可以切换到任何方式模式或内置功能或实用程序,可以提高效率吗?谢谢。



Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/

解决方案

< blockquote>

嗨朋友,


欢迎来到MSDN论坛。


现在,似乎没有现成的api 可以组合动作( BeforeExecute,CurrentColumn,MoveToDisplayColumn )成一种方法。很抱歉这个
给您带来不便。


在额外的代码影响您的行为表现的水平上,您可以尝试Ed Dore的

在这种情况下的建议
,以检查它是否有助于提高某些表现。


真诚地


Lance


I want to allow users to navigate in virtual space (the space after the end of the line) when using the arrow keys. I can, of course, do this manually using events, properties, and methods (such as BeforeExecute, CurrentColumn, MoveToDisplayColumn, etc.), but this requires extra code and variables. Is there any way mode that I can switch to or built-in functionality or utilities that can make this more efficient? Thanks.


Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/

解决方案

Hi friend,

Welcome to MSDN forum.

For now, it seems no existing api  can combine the actions(BeforeExecute, CurrentColumn, MoveToDisplayColumn) into one method. Sorry for this inconvenience.

And in what level the extra code affect your action performance, you can try Ed Dore's suggestion in this case to check if it helps improve some performance.

Sincerely

Lance


这篇关于[VB]在VSIX扩展中的虚拟空间中导航的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆