We used this template text example earlier, while discussing validation of template text.
我们在前面讨论模板文本的验证时使用了这个模板文本示例。
The example command will fade in the "red text example" string over 500ms in a 40pt red font at position -150,-150.
示例命令将在 500ms后淡入“redtext example”字符串,字体为红色40pt,位置为 (-150,-150)。
Verbatim insertion is more appropriate in this example, since the aim is to exactly copy the text above the cursor.
在本例中更适合使用逐字插入,因为这里的目标是精确地复制游标上方的文本。
The first part of the text in the example contains information about the message template, that is, the qualified name of message definiton and the parts defined in the message definition.
该样本实例中文本的第一部分包含了关于消息模板的信息,也就是消息定义的限定名以及在消息定义中定义的各个部分。
This example has a text box in which the user can type the file name for example purposes, but the file name could just as easily be supplied in the query string.
为了进行演示,这个示例使用了一个可供用户键入文件名的文本框,但是可以在查询字符串中轻松地提供文件名。
If the status is equal to BAD, we display the summary next to the name of the site and a style named BAD in the CSS file dictates the rendering attributes - red text in this example.
如果状态为BAD,我们将在站点名称旁边显示摘要,并且CSS文件中名为BAD的样式将指出呈现属性—本例中为红色文本。
So the fact, though, is the way ancient people interpret a text, as this example shows, is not the way I have been teaching you in this class to interpret texts.
所以事实是,古代人解读经文的方式,从这个例子可以看出,不是我一直在课上教你们,解读经文的方式。
The string can be a label for a user interface element, a URL, or message text, for example.
字符串可以是一个用户界面元素的标记,一个URL,或是一个消息文本。
For example, the text of Genesis 19 centers upon the story of Lot's visitation in the city of Sodom by two angels.
例如,“创世记”第19章以罗德与两个天使探视所多玛城的故事为中心。
Listing 13. Example text from messages file.
清单13.messages文件的示例文本。
Listing 12. Example text from config file.
清单12.config文件的示例文本。
Without a templating system, you'd use Python code to generate pieces of text like the example E-mail message.
如果没有模板系统,那么就要使用Python代码生成类似示例电子邮件消息的文本片段。
Each row in the temporary table is comprised of a text (for example, "abcd-def ghi") and a word to search for (for example, "def").
临时表中的每一行包含一个文本(例如“abcd - defghi”)和一个要搜索的单词(例如“def”)。
Listing 18 shows an example feed with three text constructs.
清单18展示了一个带有3种文本结构的提要示例。
For example the text of a JLabel or JTextField will be used as its default accessible name.
例如,JLabel或JTextField文本将被用作其缺省的可访问名称。
To resolve location URLs, the media type can be specified to be text or XML. For example.
为了解决本地urls问题,您可以将媒体类型指定为文本或者XML。
A grammar is a collection of rules in text form. The following example is a single rule that matches a word.
文法(grammar)是一组以文本形式表示的规则。
For example, when you enter text into the document, it has no attributes, even if entered at an attributed point.
例如,在将文本输入到文档中时,文本没有任何属性,即使是在具有属性的点输入它也是如此。
For example, you can generate a text file using Listing 11.
例如,您可以使用清单11来生成一个文本文件。
Let's make the goal more complex and add some conditional text rendering - for example, CSS class names for even and odd table rows.
现在让我们实现更复杂的目标并添加一些有条件的文本呈现—例如,命名偶数和奇数表行的css类。
For example, you can limit text search to terms that match only if they occur in the same sentence (proximity search).
例如,可以将文本搜索限制到只匹配同一句子中出现的单词(接近搜索)。
Links should not be made to an individual constituent of a page, for example text, picture or graphic.
不应与一个页面的个别构成部分建立链接,例如文本、图片或图形。
For example, don't assume all text flows from left to right or that all characters are equally wide.
例如,我们不能假定所有的文本都是从左到右排列的,也不能假定所有字符都是等宽的。
Enables you to get information about the text (for example, its length), as well as segments of the text as a string.
使您能够获取文本的相关信息(例如它的长度),以及文本片段。
For example, you may surround the text with parentheses or asterisks.
例如,您可以用括号或星号括住文本。
Affiliate programs, for example, place text or graphic links on others' websites.
比如,合作联盟项目在别人的网站上放置文本或图片。
Tools that don't have their own conversion to structure might require you to export the content first to an intermediate format (for example, text, HTML, or very raw XML).
对于不能自动实现结构转换的工具,可能需要您首先把内容导出为一种中间格式(例如,文本、HTML或非常原始的 XML)。
In the example below, the text at line 2 is replaced with new line of text.
在以下示例中,第2行的文本被替换为新的文本行。
When you receive a text message, for example, a little bar will pop up top to let you know that you've received a notification.
举个例子,如果你收到文字信息,屏幕上方会弹出一个提示,告知你收到了通知。
When you receive a text message, for example, a little bar will pop up top to let you know that you've received a notification.
举个例子,如果你收到文字信息,屏幕上方会弹出一个提示,告知你收到了通知。
应用推荐