Netbeans 大型源文件上的乱码文本 - Fedora
我希望有人能帮助我。我一直在尝试解决这个问题,即在 NEtBeans 中打开的大型源文件最终出现乱码且无法读取的文本。一开始我以为是netbeans的问题,后来发现是Java的问题。我已按照这些说明进行操作(本页上的屏幕截图)
http://wiki.netbeans.org/FaqSolvingEditorGarbledText
当我在终端中运行命令 lspci 时,我不确定输入的设备是否正确。
lspci 得到这个
06:00.0 VGA compatible controller: ATI Technologies Inc Barts XT [ATI Radeon HD 6800 Series]
然后我用以下文本更新我的 xorg.conf 文件。
Section "Device"
Identifier "ATI Technologies Inc Barts XT [ATI Radeon HD 6800 Series]"
Option "AccelMethod" "xaa"
Option "RenderAccel" "true"
EndSection
但是当源文件变大时,我仍然出现乱码。当我说“大”时,我指的是 2000 多行。
这是屏幕截图
I was hoping someone could help me. I have been trying to solve this problem where my large source files opened in NEtBeans ends up garbled unreadable text. At first I thought it was netbeans but then it turns out being a Java issue. I have followed these instructions (Screenshot on this page)
http://wiki.netbeans.org/FaqSolvingEditorGarbledText
I am not sure I am entering the correct Device when I run the command lspci in terminal.
lspci gets me this
06:00.0 VGA compatible controller: ATI Technologies Inc Barts XT [ATI Radeon HD 6800 Series]
Which then I update my xorg.conf file with the following text.
Section "Device"
Identifier "ATI Technologies Inc Barts XT [ATI Radeon HD 6800 Series]"
Option "AccelMethod" "xaa"
Option "RenderAccel" "true"
EndSection
But I still have garbled text when the source files become large. When I say large I am talking about 2000+ lines.
Here is a screenshot
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这个问题自己解决了。可能是 netbeans 和旧版本的 fedora 中的错误。我没有使用 7.0.1 netbeans 和 fedora 17。
This problem worked it self out. Could have been a bug in netbeans, and a older version of fedora. I am not using 7.0.1 netbeans, and fedora 17.