在UltraEdit中为SQR配置代码着色

2023-11-02 10:20

本文主要是介绍在UltraEdit中为SQR配置代码着色,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

可以在UltraEdit(我用的版本是ue17.00.0.1025)中为SQR配置代码着色,首先在UltraEdit中找到高级-->配置-->编辑器现实-->语法高亮,如下图:

 

看到“文档的完整目录名称”里指定的目录,然后在该目录下建立sqr.uew空文件,将如下代码copy到文件中,保存即可:

--BEGIN FILE--

/L10"SQR" Nocase Line Comment = ! Block Comment On = ! Block Comment Off = ! String Chars = ' File Extensions = SQR SQC SQH sqr sqc sqh
/Function String = "Begin-Proc*"
/Delimiters = ~!@%^&*()+=/\/{}[]:;"'<> , .?
/Marker Characters = "{}"

/C1"Paragraph Boundry"
begin-footing begin-heading
begin-procedure begin-program begin-report begin-setup
end-footing end-heading
end-procedure end-program end-report end-setup

/C2"SQL & Declare"
alter-color-map alter-conection alter-locale alter-printer alter-report
begin-document begin-execute begin-select begin-sql
declare-chart declare-image declare-color-map
declare-conection declare-layout declare-printer declare-report
declare-procedure
declare-toc
declare-variable
end-declare
end-document
end-select exit-select end-sql
load-lookup

/C3"Pre-Defined Vars"
#current-column #current-date #current-line
#end-file
#page-count
#return-status
#sql-count #sql-status #sqr-max-columns #sqr-max-lines
#sqr-pid
#sqr-toc-level #sqr-toc-page
$sqr-database {sqr-database}
$sqr-dbcs {sqr-dbcs}
$sqr-encoding {sqr-encoding}
$sqr-encoding-console {sqr-encoding-console}
$sqr-encoding-database {sqr-encoding-database}
$sqr-encoding-file-input {sqr-encoding-file-input}
$sqr-encoding-file-output {sqr-encoding-file-output}
$sqr-encoding-report-input {sqr-encoding-report-input}
$sqr-encoding-report-output {sqr-encoding-report-output}
$sqr-encoding-source {sqr-encoding-source}
$sql-error
$sqr-hostname {sqr-hostname}
$sqr-locale
$sqr-platform {sqr-platform}
$sqr-program
$sqr-report
$sqr-toc-text
$sqr-ver
$username

/C4"Compiler Directive"
{}
** debug #debug
#define
#else #end-if #endif
#if #ifdef #ifndef #include

/C5"Command"
add array-add array-divide array-multiply array-subtract ask
break
call clear-array close columns commit concat connect create-array create-color-palette
date-time display divide do dollar-symbol
else encode end-evaluate end-if end-while evaluate execute extract
find
get get-color goto graphic
if input
last-page let lookup lowercase
mbtosbs money-symbol move multiply
new-page new-report next-column next-listing no-formfeed
open
page-number page-size position print print-bar-code print-chart print-direct
print-image printer-deinit printer-init put
read rollback
security set-color set-delay-print set-generations set-levels set-members
sbtombs show stop string subtract
toc-entry
unstring uppercase use use-column use-printer-type use-procedure use-report
while write

/C6"Command Syntax"
3d-effects
after-bold after-page after-report after-toc and as at-end
background batch-mode beep before-bold before-page before-report before-toc blink
bold border bottom-margin box break by
caption center char char-size char-width chars-inch chart-size checksum cl clear-line
clear-screen color color-palette cs
color_
data-array data-array-column-count data-array-column-labels data-array-row-count data-labels
date date-edit-mask date-seperator day-of-week-case day-of-week-full day-of-week-short
decimal decimal-seperator default-numeric delay distinct dot-leader
edit-option-ad edit-option-am edit-option-bc edit-option-na edit-option-pm
encoding entry erase-page extent
field fill fixed fixed_nolf float font font-style font-type footing footing-size
foreground for-append for-reading for-reports for-tocs for-writing format formfeed from
goto-top group
having heading heading-size height horz-line
image-size in indentation init-string input-date-edit-mask insert integer into
item-color item-size
key
layout left-margin legend legend-placement legend-presentation legend-title level
line-height line-size line-width lines-inch local locale loops
max-columns max-lines maxlen money money-edit-mask money-sign money-sign-location
months-case months-full months-short
name need newline newpage no-advance nolf noline noprompt normal not nowait number number-edit-mask
on-error or order orientation
page-depth paper-size pie-segment-explode pie-segment-percent-display
pie-segment-quantity-display pitch point-markers point-size printer printer-type
quiet
record reset-string return_value reverse right-margin rows
select size skip skiplines sort source sqr-database sqr-platform
startup-file status stop sub-title symbol-set system
table text thousand-seperator time-seperator times title to toc top-margin type
underline update using
value vary vert-line
wait warn when when-other where with
x-axis-grid x-axis-label x-axis-major-increment x-axis-major-tick-marks
x-axis-max-value x-axis-min-value x-axis-minor-increment x-axis-minor-tick-marks
x-axis-rotate x-axis-scale x-axis-tick-mark-placement
xor
y-axis-grid y-axis-label y-axis-major-increment y-axis-major-tick-marks
y-axis-max-value y-axis-min-value y-axis-minor-increment y-axis-minor-tick-marks
y-axis-scale y-axis-tick-mark-placement
y2-type y2-data-array y2-data-array-row-count y2-data-array-column-count
y2-data-array-column-labels y2-axis-color-palette
y2-axis-label y2-axis-major-increment y2-axis-major-tick-marks
y2-axis-max-value y2-axis-min-value y2-axis-minor-increment y2-axis-minor-tick-marks
y2-axis-scale

/C7"Expressions"
abs acos asin atan
array ascii asciic
ceil cos cosh
chr cond
deg
delete
dateadd datediff datenow datetostr
e10 exp
edit
exists
floor
getenv
instr instrb isblank isnull
log log10
length lengthb lengthp lengtht lower lpad ltrim
mod
nvl
power
rad round
range replace roman rpad rtrim
rename
sign sin sinh sqrt
substr substrb substrp substrt
strtodate
tan tanh trunc
to_char to_multi_byte to_number to_single_byte transformtranslate
unicode upper
wrapdepth

/C8"User-Defined Vars"
** $ #

--END FILE--

 

这篇关于在UltraEdit中为SQR配置代码着色的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/329936

相关文章

Redis Cluster模式配置

《RedisCluster模式配置》:本文主要介绍RedisCluster模式配置,本文给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友参考下吧... 目录分片 一、分片的本质与核心价值二、分片实现方案对比 ‌三、分片算法详解1. ‌范围分片(顺序分片)‌2. ‌哈希分片3. ‌虚

Python实例题之pygame开发打飞机游戏实例代码

《Python实例题之pygame开发打飞机游戏实例代码》对于python的学习者,能够写出一个飞机大战的程序代码,是不是感觉到非常的开心,:本文主要介绍Python实例题之pygame开发打飞机... 目录题目pygame-aircraft-game使用 Pygame 开发的打飞机游戏脚本代码解释初始化部

SpringBoot项目配置logback-spring.xml屏蔽特定路径的日志

《SpringBoot项目配置logback-spring.xml屏蔽特定路径的日志》在SpringBoot项目中,使用logback-spring.xml配置屏蔽特定路径的日志有两种常用方式,文中的... 目录方案一:基础配置(直接关闭目标路径日志)方案二:结合 Spring Profile 按环境屏蔽关

Maven 配置中的 <mirror>绕过 HTTP 阻断机制的方法

《Maven配置中的<mirror>绕过HTTP阻断机制的方法》:本文主要介绍Maven配置中的<mirror>绕过HTTP阻断机制的方法,本文给大家分享问题原因及解决方案,感兴趣的朋友一... 目录一、问题场景:升级 Maven 后构建失败二、解决方案:通过 <mirror> 配置覆盖默认行为1. 配置示

Java中Map.Entry()含义及方法使用代码

《Java中Map.Entry()含义及方法使用代码》:本文主要介绍Java中Map.Entry()含义及方法使用的相关资料,Map.Entry是Java中Map的静态内部接口,用于表示键值对,其... 目录前言 Map.Entry作用核心方法常见使用场景1. 遍历 Map 的所有键值对2. 直接修改 Ma

Springboot3+将ID转为JSON字符串的详细配置方案

《Springboot3+将ID转为JSON字符串的详细配置方案》:本文主要介绍纯后端实现Long/BigIntegerID转为JSON字符串的详细配置方案,s基于SpringBoot3+和Spr... 目录1. 添加依赖2. 全局 Jackson 配置3. 精准控制(可选)4. OpenAPI (Spri

maven私服配置全过程

《maven私服配置全过程》:本文主要介绍maven私服配置全过程,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录使用Nexus作为 公司maven私服maven 私服setttings配置maven项目 pom配置测试效果总结使用Nexus作为 公司maven私

springboot加载不到nacos配置中心的配置问题处理

《springboot加载不到nacos配置中心的配置问题处理》:本文主要介绍springboot加载不到nacos配置中心的配置问题处理,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑... 目录springboot加载不到nacos配置中心的配置两种可能Spring Boot 版本Nacos

深入解析 Java Future 类及代码示例

《深入解析JavaFuture类及代码示例》JavaFuture是java.util.concurrent包中用于表示异步计算结果的核心接口,下面给大家介绍JavaFuture类及实例代码,感兴... 目录一、Future 类概述二、核心工作机制代码示例执行流程2. 状态机模型3. 核心方法解析行为总结:三

Nacos注册中心和配置中心的底层原理全面解读

《Nacos注册中心和配置中心的底层原理全面解读》:本文主要介绍Nacos注册中心和配置中心的底层原理的全面解读,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录临时实例和永久实例为什么 Nacos 要将服务实例分为临时实例和永久实例?1.x 版本和2.x版本的区别