高分求解:怎么让VB的代码编辑器左侧显示行号?

cuixiping 2004-08-19 01:49:28
如题。
...全文
949 24 打赏 收藏 转发到动态 举报
写回复
用AI写文章
24 条回复
切换为时间正序
请发表友善的回复…
发表回复
chcky 2004-08-31
  • 打赏
  • 举报
回复
求lineno
chcky@126.com
chenziteng 2004-08-23
  • 打赏
  • 举报
回复
一个名为MZ-Tools的插件有此功能:
---------------------------------------------------------------------------------
Line Numbering
This feature allows you add or remove line numbers to the source code of a procedure, file, project or project group, depending on the used menu or context menu of the Project Explorer. Line numbering is useful if you use the undocumented Erl function in your error handlers to know the line that caused the error:

Private Sub Form_Load()

10 On Error GoTo Proc_error

20 Debug.Print 1 / 1
30 Debug.Print 1 / 0

40 Exit Sub

Proc_error:

50 MsgBox "Error " & Err.Description & " in line " & Erl & " of Form_Load"

End Sub
---------------------------------------------------------------------------------
详见http://www.mztools.com/
chcky 2004-08-23
  • 打赏
  • 举报
回复
哪位兄弟,能不能给我来一个lineno,谢了
chcky@126.com
chcky 2004-08-22
  • 打赏
  • 举报
回复
兄弟,给我发了没有啊
chcky@126.com
wangh2122 2004-08-20
  • 打赏
  • 举报
回复
晕……拿行号来干什么?
wangtao_net 2004-08-20
  • 打赏
  • 举报
回复
谢谢来一份
samd@fc18.com
accpedu 2004-08-20
  • 打赏
  • 举报
回复
accpedu@163.com
我要啊!
jordi2014 2004-08-20
  • 打赏
  • 举报
回复
cuixiping(无心):邮件已发给你。请查收。

申明:由于我们公司禁止向外发邮件,所以须登录邮件服务器网站来发送,很是麻烦。大家如果谁还想要,就请提供一个可上传的地址吧。
cuixiping 2004-08-20
  • 打赏
  • 举报
回复
to lhfcsdn(不断努力ing):
可以Email给我吗? cuixiping@yeah.net
谢谢!
jordi2014 2004-08-20
  • 打赏
  • 举报
回复
谁有共享区?下周我传一个。

我以前下载的一个lineno的小工具。
chcky 2004-08-20
  • 打赏
  • 举报
回复
我要一个lineno,谢谢了!
cuixiping 2004-08-20
  • 打赏
  • 举报
回复
to lhfcsdn(不断努力ing): 已收到.谢谢。我用用看
BlueBeer 2004-08-19
  • 打赏
  • 举报
回复
这很重要吗?
cuixiping 2004-08-19
  • 打赏
  • 举报
回复
不知道哪里能找到这样的add-in
cso 2004-08-19
  • 打赏
  • 举报
回复
VB自己不可以,但是估计有插件可以实现
yujiang930 2004-08-19
  • 打赏
  • 举报
回复
自己做个VB就OK了 ^_^
cuixiping 2004-08-19
  • 打赏
  • 举报
回复
大家没有明白我的意思吧?
我知道工具栏有行号和列号,可是那只能显示当前位置的,我要每一行的行号都显示在代码编辑器的左侧啊。
就像 Editplus, Dreamweaver 那样的!
starsoulxp 2004-08-19
  • 打赏
  • 举报
回复
对啊,不怎么注意,工具栏的右边是有行号和列号啊。
goodname008 2004-08-19
  • 打赏
  • 举报
回复
在工具栏的最右边会显示行号和列号的啊。
chuting1 2004-08-19
  • 打赏
  • 举报
回复
NO
加载更多回复(4)

7,763

社区成员

发帖
与我相关
我的任务
社区描述
VB 基础类
社区管理员
  • VB基础类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧