Topic: [javaIDE] jbuilder光标定位不准确的解决方法 |
Print this page |
1.[javaIDE] jbuilder光标定位不准确的解决方法 | Copy to clipboard |
Posted by: 九佰 Posted on: 2003-12-10 09:58 方法一: ===== 在font.properties.zh 文件中的字体映射中加入该加入的Bold, Italic等标记。 C:\JBuilder8\jdk1.4\jre\lib\font.properties.zh 举例: ==== 比如对于dialog的Bold字体,JDK的原始文件中是: dialog.bold.0=Arial,ANSI_CHARSET dialog.bold.1=\u5b8b\u4f53,GB2312_CHARSET dialog.bold.2=WingDings,SYMBOL_CHARSET dialog.bold.3=Symbol,SYMBOL_CHARSET 修改后为: dialog.bold.0=Arial Bold,ANSI_CHARSET dialog.bold.1=\u5b8b\u4f53,GB2312_CHARSET dialog.bold.2=WingDings,SYMBOL_CHARSET dialog.bold.3=Symbol,SYMBOL_CHARSET 对类似的字体都加入Bold, Italic就可以了。 |
2.Re:[javaIDE] jbuilder光标定位不准确的解决方法 [Re: 九佰] | Copy to clipboard |
Posted by: 九佰 Posted on: 2003-12-16 09:24 方法二: =========== 修改jbuilder.config 加一句 vmparam -Dprimetime.editor.useVariableWidthFont=true 注意不能使用Productivity 使用了Productivity,还是会定位不准 |
3.Re:[javaIDE] jbuilder光标定位不准确的解决方法 [Re: 九佰] | Copy to clipboard |
Posted by: mengge Posted on: 2003-12-19 14:27 好像还有一种方法,就是修改IDE中显示字体有黑体的全部改为非黑体。 该方法在JBuilder9中有效,不知道其他版本是否可行。 |
4.Re:[javaIDE] jbuilder光标定位不准确的解决方法 [Re: 九佰] | Copy to clipboard |
Posted by: Ispy Posted on: 2004-01-13 16:25 完美解决: 修改font.properties.zh文件内容为: # @(#)font.properties.zh 1.10 02/03/07 # # Copyright 2002 Sun Microsystems, Inc. All rights reserved. # Modified by Yue Feng. 11/24/2003 # Component Font Mappings # dialog.plain.0=Arial,ANSI_CHARSET dialog.plain.1=\u5b8b\u4f53,GB2312_CHARSET dialog.plain.2=WingDings,SYMBOL_CHARSET dialog.plain.3=Symbol,SYMBOL_CHARSET dialog.bold.0=Arial Bold,ANSI_CHARSET dialog.bold.1=\u5b8b\u4f53,GB2312_CHARSET dialog.bold.2=WingDings,SYMBOL_CHARSET dialog.bold.3=Symbol,SYMBOL_CHARSET dialog.italic.0=Arial Italic,ANSI_CHARSET dialog.italic.1=\u5b8b\u4f53,GB2312_CHARSET dialog.italic.2=WingDings,SYMBOL_CHARSET dialog.italic.3=Symbol,SYMBOL_CHARSET dialog.bolditalic.0=Arial Bold Italic,ANSI_CHARSET dialog.bolditalic.1=\u5b8b\u4f53,GB2312_CHARSET dialog.bolditalic.2=WingDings,SYMBOL_CHARSET dialog.bolditalic.3=Symbol,SYMBOL_CHARSET dialoginput.0=Courier New,ANSI_CHARSET dialoginput.1=\u5b8b\u4f53,GB2312_CHARSET dialoginput.2=WingDings,SYMBOL_CHARSET dialoginput.3=Symbol,SYMBOL_CHARSET dialoginput.plain.0=Courier New,ANSI_CHARSET dialoginput.plain.1=\u5b8b\u4f53,GB2312_CHARSET dialoginput.plain.2=WingDings,SYMBOL_CHARSET dialoginput.plain.3=Symbol,SYMBOL_CHARSET dialoginput.bold.0=Courier New Bold,ANSI_CHARSET dialoginput.bold.1=\u5b8b\u4f53,GB2312_CHARSET dialoginput.bold.2=WingDings,SYMBOL_CHARSET dialoginput.bold.3=Symbol,SYMBOL_CHARSET dialoginput.italic.0=Courier New Italic,ANSI_CHARSET dialoginput.italic.1=\u5b8b\u4f53,GB2312_CHARSET dialoginput.italic.2=WingDings,SYMBOL_CHARSET dialoginput.italic.3=Symbol,SYMBOL_CHARSET dialoginput.bolditalic.0=Courier New Bold Italic,ANSI_CHARSET dialoginput.bolditalic.1=\u5b8b\u4f53,GB2312_CHARSET dialoginput.bolditalic.2=WingDings,SYMBOL_CHARSET dialoginput.bolditalic.3=Symbol,SYMBOL_CHARSET serif.plain.0=Times New Roman,ANSI_CHARSET serif.plain.1=\u5b8b\u4f53,GB2312_CHARSET serif.plain.2=WingDings,SYMBOL_CHARSET serif.plain.3=Symbol,SYMBOL_CHARSET serif.bold.0=Times New Roman Bold,ANSI_CHARSET serif.bold.1=\u5b8b\u4f53,GB2312_CHARSET serif.bold.2=WingDings,SYMBOL_CHARSET serif.bold.3=Symbol,SYMBOL_CHARSET serif.italic.0=Times New Roman Italic,ANSI_CHARSET serif.italic.1=\u5b8b\u4f53,GB2312_CHARSET serif.italic.2=WingDings,SYMBOL_CHARSET serif.italic.3=Symbol,SYMBOL_CHARSET serif.bolditalic.0=Times New Roman Bold Italic,ANSI_CHARSET serif.bolditalic.1=\u5b8b\u4f53,GB2312_CHARSET serif.bolditalic.2=WingDings,SYMBOL_CHARSET serif.bolditalic.3=Symbol,SYMBOL_CHARSET sansserif.plain.0=Arial,ANSI_CHARSET sansserif.plain.1=\u5b8b\u4f53,GB2312_CHARSET sansserif.plain.2=WingDings,SYMBOL_CHARSET sansserif.plain.3=Symbol,SYMBOL_CHARSET sansserif.bold.0=Arial Bold,ANSI_CHARSET sansserif.bold.1=\u5b8b\u4f53,GB2312_CHARSET sansserif.bold.2=WingDings,SYMBOL_CHARSET sansserif.bold.3=Symbol,SYMBOL_CHARSET sansserif.italic.0=Arial Italic,ANSI_CHARSET sansserif.italic.1=\u5b8b\u4f53,GB2312_CHARSET sansserif.italic.2=WingDings,SYMBOL_CHARSET sansserif.italic.3=Symbol,SYMBOL_CHARSET sansserif.bolditalic.0=Arial Bold Italic,ANSI_CHARSET sansserif.bolditalic.1=\u5b8b\u4f53,GB2312_CHARSET sansserif.bolditalic.2=WingDings,SYMBOL_CHARSET sansserif.bolditalic.3=Symbol,SYMBOL_CHARSET monospaced.0=Courier New,ANSI_CHARSET monospaced.plain.1=\u5b8b\u4f53,GB2312_CHARSET monospaced.plain.2=WingDings,SYMBOL_CHARSET monospaced.plain.3=Symbol,SYMBOL_CHARSET monospaced.bold.0=Courier New Bold,ANSI_CHARSET monospaced.bold.1=\u5b8b\u4f53,GB2312_CHARSET monospaced.bold.2=WingDings,SYMBOL_CHARSET monospaced.bold.3=Symbol,SYMBOL_CHARSET monospaced.italic.0=Courier New Italic,ANSI_CHARSET monospaced.italic.1=\u5b8b\u4f53,GB2312_CHARSET monospaced.italic.2=WingDings,SYMBOL_CHARSET monospaced.italic.3=Symbol,SYMBOL_CHARSET monospaced.bolditalic.0=Courier New Bold Italic,ANSI_CHARSET monospaced.bolditalic.1=\u5b8b\u4f53,GB2312_CHARSET monospaced.bolditalic.2=WingDings,SYMBOL_CHARSET monospaced.bolditalic.3=Symbol,SYMBOL_CHARSET # Font File Names # filename.\u5b8b\u4f53=SIMSUN.TTC filename.Arial=ARIAL.TTF filename.Arial_Bold=ARIALBD.TTF filename.Arial_Italic=ARIALI.TTF filename.Arial_Bold_Italic=ARIALBI.TTF filename.Courier_New=COUR.TTF filename.Courier_New_Bold=COURBD.TTF filename.Courier_New_Italic=COURI.TTF filename.Courier_New_Bold_Italic=COURBI.TTF filename.Times_New_Roman=TIMES.TTF filename.Times_New_Roman_Bold=TIMESBD.TTF filename.Times_New_Roman_Italic=TIMESI.TTF filename.Times_New_Roman_Bold_Italic=TIMESBI.TTF filename.WingDings=WINGDING.TTF filename.Symbol=SYMBOL.TTF # Missing Glyph Character # default.char=2751 # Component Font Character Encodings # fontcharset.dialog.1=sun.io.CharToByteGBK fontcharset.dialog.2=sun.awt.windows.CharToByteWingDings fontcharset.dialog.3=sun.awt.CharToByteSymbol fontcharset.dialoginput.1=sun.io.CharToByteGBK fontcharset.dialoginput.2=sun.awt.windows.CharToByteWingDings fontcharset.dialoginput.3=sun.awt.CharToByteSymbol fontcharset.serif.1=sun.io.CharToByteGBK fontcharset.serif.2=sun.awt.windows.CharToByteWingDings fontcharset.serif.3=sun.awt.CharToByteSymbol fontcharset.sansserif.1=sun.io.CharToByteGBK fontcharset.sansserif.2=sun.awt.windows.CharToByteWingDings fontcharset.sansserif.3=sun.awt.CharToByteSymbol fontcharset.monospaced.0=sun.io.CharToByteGBK fontcharset.monospaced.1=sun.io.CharToByteGBK fontcharset.monospaced.2=sun.awt.windows.CharToByteWingDings fontcharset.monospaced.3=sun.awt.CharToByteSymbol # Exclusion Ranges # exclusion.dialog.0=0100-20ab,20ad-f8ff exclusion.dialoginput.0=0100-20ab,20ad-f8ff exclusion.serif.0=0100-20ab,20ad-f8ff exclusion.sansserif.0=0100-20ab,20ad-f8ff exclusion.monospaced.0=0100-20ab,20ad-f8ff # Text Input Character Set # inputtextcharset=GB2312_CHARSET |
5.Re:[javaIDE] jbuilder光标定位不准确的解决方法 [Re: 九佰] | Copy to clipboard |
Posted by: howesen Posted on: 2004-11-30 22:02 其实你只要在它的Tools菜单下的Editor Options中的Display下的Right margin选中,然后在后面的下拉框中填上80, 然后再在Editor font选项中先选择Font family:宋体;Font size:12即可以准确定位光标。 |
6.Re:[javaIDE] jbuilder光标定位不准确的解决方法 [Re: 九佰] | Copy to clipboard |
Posted by: Sam1860 Posted on: 2004-12-10 11:43 实践证明Ispy的方法很好用 |
7.中文显示及光标错位最简洁的解决方法 [Re: 九佰] | Copy to clipboard |
Posted by: vk2001 Posted on: 2005-03-01 20:21 中文显示及光标错位最简洁的解决方法: 说明:你只需在指定的路径上找到指定的两个文件并覆盖,然后再次启动JBuilderX,问题就解决了。 使用说明及我做好的两个文件在下面的附件中。 使用说明.txt (1.11k) |
8.Re:[javaIDE] jbuilder光标定位不准确的解决方法 [Re: 九佰] | Copy to clipboard |
Posted by: vk2001 Posted on: 2005-03-01 20:21 中文显示及光标错位最简洁的解决方法.rar (4.71k) |
9.Re:[javaIDE] jbuilder光标定位不准确的解决方法 [Re: 九佰] | Copy to clipboard |
Posted by: vk2001 Posted on: 2005-03-01 20:22 本方法是我结合网上的一些文章,经自己的改进后的一种懒人的解决方案,在三部不同的机器,两种系统(XP和2000)上调试通过,大家放心使用:) |
10.Re:[javaIDE] jbuilder光标定位不准确的解决方法 [Re: 九佰] | Copy to clipboard |
Posted by: freesoul Posted on: 2005-04-27 08:31 我用这个办法解决了问题,但是出现新的问题就是文件目录的中文目录名显示不出来,显示的是方框框,我用的是jbx,2000的系统,如何解决? |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |