formatLine 参数

使用 formatLine 参数来设置或查询格式行的可视性。

可用性

query 命令
set 命令
current 参数
default 参数
install 参数

作用域

formatLine 的作用域为当前视图。
current.formatLine 的作用域为当前视图。
default.formatLine 的作用域为全局。
install.formatLine 的作用域为全局。

语法

query formatLine
set formatLine [ default | on | off ]
query current.formatLine
query default.formatLine
set default.formatLine [ install | on | off ]
query install.formatLine 

参数

default 如果对 set formatLine 命令指定 default 参数,则当前视图将使用 default.formatLine 的值来确定格式行的可视性。
on 如果对 set formatLine 命令指定 on 参数,则格式行将在当前视图中可视。如果对 set default.formatLine 命令指定 on 参数,则格式行将对所有将 formatLine 设置为 default 的视图可视。
off 如果对 set formatLine 命令指定 off 参数,则格式行将在当前视图中不可视。如果对 set default.formatLine 命令指定 off 参数,则格式行将对所有将 formatLine 设置为 default 的视图不可视。
install 如果对 set default.formatLine 命令指定 install 参数,则所有将 formatLine 设置为 default 的视图都将使用 install.formatLine 的值来确定格式行的可视性。

描述

格式行显示编辑区中的列位置及当前逻辑文本显示位置。

格式行设计成与字体设置为固定间距字体(如“Courier New”)的编辑窗口配合工作。

示例

query formatLine
set formatLine off
query current.formatLine
query default.formatLine
set default.formatLine off
query install.formatLine 

相关参考
query 命令
set 命令
current 参数
default 参数
install 参数
displayPosition 参数
formatLineText 参数
font 参数