举个典型的例子,1.5版前,在字符串中,当函数调用的结束括号另起一行时,代码颜色显示会不正确。
A typical example is that prior to version 1.5, the code coloring was incorrect for a function-call inside a string when the closing bracket was placed on a new line.
幸运的是即使我们现在通过HTML代码就能得到宽得多的颜色谱,但这128种组合仍然可用。
Fortunately these 128 combinations still function even though we now have a much wider color spectrum evocable via the HTML codes.
清单1中展示的简单的颜色代码列表演示了新数据选项出现时如何扩展一个模式。
The simple code list of colors in Listing 1 illustrates how to extend a schema as new data choices emerge.
本文将提供工具和代码以允许您根据像素颜色提取高度信息,并且跨地图上下文应用高度信息。
This article presents tools and code to allow you to extract height information based on pixel colors, and apply that height information across the mapping context.
我将用我自己专门的程序,那个会分类为我标出代码的颜色,但是那个思想是一样的,这是一个文本编辑器。
I'm going to use my own special program that will color code things for me in class, but the idea is the same; it's a text editor.
只需选择两种颜色,然后就会得到你想要模拟的效果的十六进制代码。
Just choose two colors, and then the effect you want to simulate to get the resulting hex code.
在确定这里每一个元素的新颜色代码后,样式表中每一个现有的颜色代码都可以替换成新的颜色代码。
After identifying new color codes for each of these elements, the existing color code can be replaced with the new ones at every occurrence in the stylesheet.
此处的添加代码用于设置字体、颜色和行宽。
The additional code here sets up the font, colors, and line width.
看不到颜色代码,无法辨认被突出显示的条目。
The color code cannot be seen and highlighted entries are not discernable.
不需要再记住作者简介页面中使用了多大字体、不必再拼凑多个HTML表格的十六进制颜色,当然也不会再有标签搅乱您的代码。
No more do you need to remember what font size you used on the author bio page or tinker with the hex color of multiple HTML tables; and certainly no more tags ti clutter up your code.
清单7显示了来自用户颜色首选项的小部件xml定义的枚举代码片段。
Listing 7 shows a snippet of the enumeration code from the gadget XML definition of the user preference for color.
在HC模式下,所有背景设置无效,包括图片和颜色。因此,应用程序中应有专门的代码处理HC模式。
In HC mode, all the background Settings will not take effect, including images and colors, so there should be specific code defined in the application for the HC mode.
我们可以在报表产生和渲染阶段调用这些事件处理器,并且这些事件处理器还能修改报表属性,比如改变字体颜色,数据值以及调用外部代码。
These handlers are called throughout the generation and rendering process and allow modification of report properties, like changing font colors, the data value, and calling external code.
所以最好写入复杂些的代码并点击控件从结果显示中获取颜色。
Therefore, it is better to write more complex code to click the control and choose a color from the resulting display.
给文件夹标上颜色代码。
使用颜色代码的日计划表的颜色显示。
要改变表格颜色,在我们刚编辑过的代码下面几行的如下注释。
To do this, look for the following comment in the code a few lines below where you've been editing.
此代码将重用通过Display类可用的标准系统颜色。
This code reuses standard system colors available through the Display class.
调色板部分可以定义您想要的调色板,由于颜色通常是由 16 位进制代码定义的,您可以给颜色选项指定友好的名称。
The palette section is where you would define the colour palette that you want, and assign friendly names to the colour selection as the colours are normally defined in hexadecimal code.
奇怪的是,列表框的颜色不能被改变 ——除非有人愿意去编辑底层Perl模块的代码。
Bizarrely, the color of the list box cannot be changed -- unless one wants to edit the code of the underlying Perl module.
例如,清单6中的代码在 ID 属性值前面加上一个磅符(#),从而选择 ID为 bestinshow 的span并把它的颜色设置为红色,见图5。
For example the following code in Listing 6 selects the span designated as bestinshow by preceding the name with a pound sign (#) and colors it red, as shown in Figure 5.
代码的下一部分将读取EchoTops图像并根据图像中每个像素的颜色记录相应高度设置。
The next section of code will read the Echo Tops image and record the appropriate setting of altitude based on the color of each pixel in the image.
例如,实际上可以很容易地配置一个设备(就像Ambient Or b),在代码复杂度有所上升时,或者在违反一定数量的代码标准时,使用该设备改变颜色。
For example, it's actually quite easy to configure a device, like the Ambient Orb, to change colors if code complexity increases or even if a certain number of coding standards are violated.
清单1使用元素类型color定义一个简单的代码列表,color包含4个可能元素,前三个元素被赋予已知颜色名称。
It defines a simple code list with the element type color, which contains four possible elements, the first three of which are given known color names.
我特别喜欢的创建这种效果的工具来自Oto255网站,那里你可以快速而且容易地找到任何颜色变色的网络代码。
My favorite tool for building these types of combinations is 0to255(), which allows you to quickly and easily grab web values for variations of any color.
c 中的样例代码会在屏幕上画几个彩色的条,以及几行多种颜色的文本,还会在控制台上打印一些可能有用的调试信息。
The demo code in main.c draws a few colorbars onscreen, as well as a few lines of multicolor text, and prints some potentially interesting debugging information to the console.
这样,您就可以利用VisualStudio的颜色代码和语句完成特性。
With this you get the benefit of Visual Studio color coding and statement completion.
我选择的颜色代码分别是#e595b7, #f7c89c和#beeee2。
Eclipse会用适当的颜色显示代码,这也有助于寻找标记错误。
Eclipse is useful in finding markup errors by colorizing the code appropriately.
最后,通过改变类stepHeading颜色属性的代码,改变步骤标题的颜色,代码如列表5 所示。
Finally, change the color of the step headings by changing the code in the color attribute of the stepHeading class, as Listing 5 shows.
应用推荐