UltraEdit-32显示色彩问题

我下载UltraEdit-3214.20.1033版本的,之前也下载过其它版本的,但我在里面输入JAVA代码没有显示色彩,全是黑色的,请问有人遇到过这个问题吗,搞得我很无... 我下载UltraEdit-32 14.20.1033版本的,之前也下载过其它版本的,但我在里面输入JAVA代码没有显示色彩,全是黑色的,请问有人遇到过这个问题吗,搞得我很无奈呀,网上的办法都开不行呀
不行的,我都保存为java后缀名了,但还是不行呀
展开
 我来答
Holyfan
2008-10-21 · TA获得超过429个赞
知道小有建树答主
回答量:578
采纳率:0%
帮助的人:412万
展开全部
视图->查看方式,看看默认选的什么,里面有没有java项,有的话选上。没有的话,打开高级->配置->编辑器显示->语法高亮->词语列表的完整路径,把它打开。一般默认是WORDFILE.UEW文件,查找一下,看看有没有java的高亮代码,如果没有的话,把下面这段代码复制过去:
----------------------------------------------线下的
/L4"Java" JAVA_LANG Line Comment = // Block Comment On = /* Block Comment Off = */ Escape Char = \ File Extensions = JAV JAVA
/Delimiters = ~!@%^&*()-+=|\/{}[]:;"'<> , .?
/Function String = "%[ ^t]++[ps][a-z]+ [a-z0-9]+ ^(*(*)^)*{$"
/Function String 1 = "%[ ^t]++[ps][a-z]+ [a-z0-9]+ ^(*(*)^)[ ^t]++$"
/Member String = "^([A-Za-z0-9_:.]+^)[ ^t*&]+$S[ ^t]++[(=);,]"
/Variable String = "^([A-Za-z0-9_:.]+^)[ ^t*&]+$S[ ^t]++[(=);,]"
/Indent Strings = "{"
/Unindent Strings = "}"
/Open Brace Strings = "{" "(" "[" "<"
/Close Brace Strings = "}" ")" "]" ">"
/Open Fold Strings = "{"
/Close Fold Strings = "}"
/C1"Keywords" STYLE_KEYWORD
abstract
boolean break byte
case catch char class continue
default do double
else extends
false final finally float for
if implements import instanceof int interface
length long
native new null
package private protected public
return
short static super switch synchronized
this threadsafe throw throws transient true try
void
while
/C2"Classes" STYLE_FUNCTION
AWTError AWTEvent AWTEventMulticaster AWTException AbstractMethodError AccessException Acl AclEntry
AclNotFoundException ActionEvent ActionListener Adjustable AdjustmentEvent AdjustmentListener Adler32
AlreadyBoundException Applet AppletContext AppletStub AreaAveragingScaleFilter ArithmeticException Array
ArrayIndexOutOfBoundsException ArrayStoreException AudioClip
BeanDescriptor BeanInfo Beans BigDecimal BigInteger BindException BitSet Boolean BorderLayout
BreakIterator BufferedInputStream BufferedOutputStream BufferedReader BufferedWriter Button ButtonPeer
Byte ByteArrayInputStream ByteArrayOutputStream
CRC32 Calendar CallableStatement Canvas CanvasPeer CardLayout Certificate CharArrayReader CharArrayWriter
CharConversionException Character CharacterIterator Checkbox CheckboxGroup CheckboxMenuItem
CheckboxMenuItemPeer CheckboxPeer CheckedInputStream CheckedOutputStream Checksum Choice ChoiceFormat
ChoicePeer Class ClassCastException ClassCircularityError ClassFormatError ClassLoader
ClassNotFoundException Clipboard ClipboardOwner CloneNotSupportedException Cloneable
CollationElementIterator CollationKey Collator Color ColorModel Compiler Component ComponentAdapter
ComponentEvent ComponentListener ComponentPeer ConnectException ConnectIOException Connection Constructor
Container ContainerAdapter ContainerEvent ContainerListener ContainerPeer ContentHandler
ContentHandlerFactory CropImageFilter Cursor Customizer
DGC DSAKey DSAKeyPairGenerator DSAParams DSAPrivateKey DSAPublicKey DataFlavor DataFormatException
DataInput DataInputStream DataOutput DataOutputStream DataTruncation DatabaseMetaData DatagramPacket
DatagramSocket DatagramSocketImpl Date DateFormat DateFormatSymbols DecimalFormat DecimalFormatSymbols
Deflater DeflaterOutputStream Dialog DialogPeer Dictionary DigestException DigestInputStream
DigestOutputStream Dimension DirectColorModel Double Driver DriverManager DriverPropertyInfo
EOFException EmptyStackException Enumeration Error Event EventListener EventObject EventQueue
EventSetDescriptor Exception ExceptionInInitializerError ExportException
FeatureDescriptor Field FieldPosition File FileDescriptor FileDialog FileDialogPeer FileInputStream
FileNameMap FileNotFoundException FileOutputStream FileReader FileWriter FilenameFilter FilterInputStream
FilterOutputStream FilterReader FilterWriter FilteredImageSource Float FlowLayout FocusAdapter FocusEvent
FocusListener Font FontMetrics FontPeer Format Frame FramePeer
GZIPInputStream GZIPOutputStream Graphics GregorianCalendar GridBagConstraints GridBagLayout GridLayout
Group
Hashtable HttpURLConnection
IOException Identity IdentityScope IllegalAccessError IllegalAccessException IllegalArgumentException
IllegalComponentStateException IllegalMonitorStateException IllegalStateException
IllegalThreadStateException Image ImageConsumer ImageFilter ImageObserver ImageProducer
IncompatibleClassChangeError IndexColorModel IndexOutOfBoundsException IndexedPropertyDescriptor
InetAddress Inflater InflaterInputStream InputEvent InputStream InputStreamReader Insets
InstantiationError InstantiationException Integer InternalError InterruptedException
InterruptedIOException IntrospectionException Introspector InvalidClassException InvalidKeyException
InvalidObjectException InvalidParameterException InvocationTargetException ItemEvent ItemListener
ItemSelectable
Key KeyAdapter KeyEvent KeyException KeyListener KeyManagementException KeyPair KeyPairGenerator
Label LabelPeer LastOwnerException LayoutManager LayoutManager2 Lease LightweightPeer
LineNumberInputStream LineNumberReader LinkageError List ListPeer ListResourceBundle LoaderHandler Locale
LocateRegistry LogStream Long
MalformedURLException MarshalException Math MediaTracker Member MemoryImageSource Menu MenuBar MenuBarPeer
MenuComponent MenuComponentPeer MenuContainer MenuItem MenuItemPeer MenuPeer MenuShortcut MessageDigest
MessageFormat Method MethodDescriptor MissingResourceException Modifier MouseAdapter MouseEvent
MouseListener MouseMotionAdapter MouseMotionListener MulticastSocket
Naming NegativeArraySizeException NoClassDefFoundError NoRouteToHostException NoSuchAlgorithmException
NoSuchElementException NoSuchFieldError NoSuchFieldException NoSuchMethodError NoSuchMethodException
NoSuchObjectException NoSuchProviderException NotActiveException NotBoundException NotOwnerException
NotSerializableException NullPointerException Number NumberFormat NumberFormatException
ObjID Object ObjectInput ObjectInputStream ObjectInputValidation ObjectOutput ObjectOutputStream
ObjectStreamClass ObjectStreamException Observable Observer Operation OptionalDataException
OutOfMemoryError OutputStream OutputStreamWriter Owner
PaintEvent Panel PanelPeer ParameterDescriptor ParseException ParsePosition Permission PipedInputStream
PipedOutputStream PipedReader PipedWriter PixelGrabber Point Polygon PopupMenu PopupMenuPeer
PreparedStatement Principal PrintGraphics PrintJob PrintStream PrintWriter PrivateKey Process Properties
PropertyChangeEvent PropertyChangeListener PropertyChangeSupport PropertyDescriptor PropertyEditor
PropertyEditorManager PropertyEditorSupport PropertyResourceBundle PropertyVetoException ProtocolException
Provider ProviderException PublicKey PushbackInputStream PushbackReader
RGBImageFilter RMIClassLoader RMIFailureHandler RMISecurityException RMISecurityManager RMISocketFactory
Random RandomAccessFile Reader Rectangle Registry RegistryHandler Remote RemoteCall RemoteException
RemoteObject RemoteRef RemoteServer RemoteStub ReplicateScaleFilter ResourceBundle ResultSet
ResultSetMetaData RuleBasedCollator Runnable Runtime RuntimeException
SQLException SQLWarning ScrollPane ScrollPanePeer Scrollbar ScrollbarPeer SecureRandom Security
SecurityException SecurityManager SequenceInputStream Serializable ServerCloneException ServerError
ServerException ServerNotActiveException ServerRef ServerRuntimeException ServerSocket Shape Short
Signature SignatureException Signer SimpleBeanInfo SimpleDateFormat SimpleTimeZone Skeleton
SkeletonMismatchException SkeletonNotFoundException Socket SocketException SocketImpl SocketImplFactory
SocketSecurityException Stack StackOverflowError Statement StreamCorruptedException StreamTokenizer String
StringBuffer StringBufferInputStream StringCharacterIterator StringIndexOutOfBoundsException StringReader
StringSelection StringTokenizer StringWriter StubNotFoundException SyncFailedException System SystemColor
TextArea TextAreaPeer TextComponent TextComponentPeer TextEvent TextField TextFieldPeer TextListener
Thread ThreadDeath ThreadGroup Throwable Time TimeZone Timestamp TooManyListenersException Toolkit
Transferable Types
UID URL URLConnection URLEncoder URLStreamHandler URLStreamHandlerFactory UTFDataFormatException
UnexpectedException UnicastRemoteObject UnknownError UnknownHostException UnknownServiceException
UnmarshalException Unreferenced UnsatisfiedLinkError UnsupportedEncodingException
UnsupportedFlavorException
VMID Vector VerifyError VetoableChangeListener VetoableChangeSupport VirtualMachineError Visibility Void
Window WindowAdapter WindowEvent WindowListener WindowPeer WriteAbortedException Writer
ZipEntry ZipException ZipFile ZipInputStream ZipOutputStream
/C3"Operators" STYLE_OPERATOR
!
%
&
*
+
-
// /
<
=
>
^
|
~
------------------------------------------------到线上结束

其中第一行L4是行号,不要与文件中的重复就可以了。
飞翔空间地带
2008-10-20
知道答主
回答量:14
采纳率:0%
帮助的人:0
展开全部
你的java文件要保存为.java后缀名的文件,再用UltraEdit打开,关键字就会变色。
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式