当您在Eclipse中输入代码的时候,会经常看到这条绿线。虽然您可以忽略它,它似乎也没有明显的作用,但是它还是值得我们花几分钟来解释一下的。
You'll see this green line often as you enter code in Eclipse, and while you can simply ignore it with no apparent effect, it's worth explaining now.
在性能调用图视图(图3)中,线的粗细指出应用程序沿着代码路径花费的时间。
In the Performance Call Graph view (Figure 3), the line's thickness indicates the amount of time the application spends along that code path.
清单10显示删除线格式按钮的代码。
Listing 10 shows the code for the strike-through formatting button.
应用推荐