清单2是一个使用换行符的示例。
添加换行符是为了增加可读性。
清单9.shell脚本中的换行。
注意,\字符表示用于格式化目的的换行符。
Note that the \ characters are to indicate a line break for formatting purposes.
因此,该示例的输出将不包含任何换行或缩进。
Thus, the output from this example will not have line breaks or indentation.
排版功能可以实现单词换行和调整多行文本。
Layout capabilities to word-wrap and justify multi-line text.
然后,它使用空格替换换行、下划线和连字符。
Then it replaces line breaks, underscores, and hyphens with blanks.
这里要做的全部工作是匹配数字、运算符和换行。
换行导致每个选项卡上的组件期望的屏幕空间减小。
Wrapping causes the expected screen space for the components on each TAB to decrease.
这意味着,拥有一个自动换行的系统是多么地重要。
This means that having a system of automatic line breaking is far more important.
想到这些我开始考虑回到西雅图去,为自己换行业。
I was starting to think about moving back to Seattle to try something new, maybe in a different industry.
注意:换行符方便您阅读代码,它不会影响XML。
Note: the line breaks make it easier for you to read your code and do not affect the XML.
如果所有的接入点都在一个网段上,这种切换行之有效。
This kind of handoff works well if all of the access points are on the same network segment.
正如清单3中所阐述的,多余的字符要么换行要么截断。
As illustrated in Listing 3, the additional characters can either be wrapped or truncated.
要改进该视图的布局,可以在不同的元素之间添加换行符。
To improve the layout of the view, add line breaks between the various elements.
在本例中,使用换行字符符号生成了一种“多行”提示符。
In this example, the newline character token is used to generate a kind of "multi-line" prompt.
忽略XML内容中的方形符号 ——它们代表换行符。
Ignore that square characters in the XML content -- they represent newline characters.
错误消息提示文件名被换行符分隔,这就给我们提供了线索。
The clue here is in the error message which shows that the filenames are separated by newline characters.
保留字符内容中的所有空白(不包括换行规范化过程中删除的字符)。
All whitespace in character content is retained (excluding characters removed during line feed normalization).
例如,Stefan就明显希望在每条注释的前后使用换行。
For example, Stefan apparently wanted line breaks before and after each comment.
换行标记(br)是XML和HTML之间区别的一个好例子。
The break tag (br) is an excellent example of the differences between XML and HTML. This line break is well-formed HTML, but not well-formed XML.
关注平台的特定通讯特征,如换行和缓冲以及Unicode字符转换。
Pay close attention to platform specific communications characteristics such as line feeds and buffering and the conversion of Unicode characters.
在试用或修改该清单前,只需删除script元素中的换行符。
Just remove line breaks in the script element before trying or adapting the listing.
WRAPPED-当列值超过列的宽度时,将列值换行至下一行。
WRAPPED - When the column value exceeds the column width, wrap the value to the next row.
显然,我们需要消除换行并转换为整数,然后才能进行有用的计算。
Clearly, we need to get rid of the newlines and covert to integers before we can do any useful calculations.
出于这些原因以及可使用性原因,要避免创建不能滚动或换行的文本区域。
For these reasons and for reasons of accessibility, avoid creating text areas that cannot scroll or wrap.
但您不知道单词由什么分隔,是空格、换行符、制表符还是这些字符的组合。
But you don't know whether the words are separated by Spaces, line breaks, tabs, or some combination of these.
这使print语句打印字符值时后面跟着空格字符,而不是换行字符。
This makes the print statement print out the character value, followed by a space character instead of a newline character.
这将保留 Windows 式换行符,而Perl解释器不喜欢它们。
This leaves Windows-style line-ends in place and the Perl interpreter does not like them.
应用推荐