如何转到特定字符偏移量
How to go to a specific character offset
我在 MacOS 10.15.7 上使用 BBedit 13.5.5。在“Go ->”下只有Go to Line Number。我想转到文件的第 145 个字符。
这是用户手册第 103 页的婴儿床(您可以在“帮助”菜单中找到它):
Alternatively, you can jump to an absolute character offset, by using the ‘line:column’ syntax but leaving the ‘line’ blank or specifying it as zero. For example, entering “0:1500” or “:1500” will cause BBEdit to place the insertion point before the 1500th character in the document. (The range syntax works too; so you could use “0:12-0:56” to select characters 12 through 56.)
正确 - 如果您 select 从菜单转到,它说,在 selecting 行号之后:
:C字符在文档中的偏移量C
因此,:20 转到第 20 个位置。但是,我发现它偏离了几个字符,也许它不算换行。
我在 MacOS 10.15.7 上使用 BBedit 13.5.5。在“Go ->”下只有Go to Line Number。我想转到文件的第 145 个字符。
这是用户手册第 103 页的婴儿床(您可以在“帮助”菜单中找到它):
Alternatively, you can jump to an absolute character offset, by using the ‘line:column’ syntax but leaving the ‘line’ blank or specifying it as zero. For example, entering “0:1500” or “:1500” will cause BBEdit to place the insertion point before the 1500th character in the document. (The range syntax works too; so you could use “0:12-0:56” to select characters 12 through 56.)
正确 - 如果您 select 从菜单转到,它说,在 selecting 行号之后:
:C字符在文档中的偏移量C
因此,:20 转到第 20 个位置。但是,我发现它偏离了几个字符,也许它不算换行。