Word 2007 中的多行代码

发布于 2024-08-26 11:55:38 字数 446 浏览 0 评论 0原文

我正在使用 Word 2007 并将代码插入到文档中。我有一个带有固定宽度字体和浅灰色背景的样式,并且我使用 Notepad++ 进行语法突出显示。

我的问题是代码“行”太长而无法显示,因此有没有办法在此类行的开头自动插入箭头符号以指示它是同一行(有点像连字符,除了长行而不是长单词)

所以对于像这样的东西:

public static void foo(String abcdefg, Boolean 123,

→String xyz)

注意:抱歉,错误的地方 =D 我在这里创建了相同的帖子: https://superuser.com/questions/124306/multiline-code -in-word-2007

I am using word 2007 and am inserting code into the document. I have a style with a fixed-width font and light grey background and all, and I use Notepad++ for syntax highlighting.

My problem is with a "line" of code that is too long to display, so is there a way to auto-insert an arrow symbol at the beginning of a such lines to indicate that it is the same line (kind of like hyphenating, except on long lines instead of long words)

So for e.g. something like this:

public static void foo(String abcdefg, Boolean 123,

→String xyz)

NOTE: Sorry about that, wrong place =D
I created the same post here: https://superuser.com/questions/124306/multiline-code-in-word-2007

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文