在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

相关文章

IDEA中配置Tomcat全过程

《IDEA中配置Tomcat全过程》文章介绍了在IDEA中配置Tomcat的六步流程,包括添加服务器、配置部署选项、设置应用服务器及启动,并提及Maven依赖可能因约定大于配置导致问题,需检查依赖版本... 目录第一步第二步第三步第四步第五步第六步总结第一步选择这个方框第二步选择+号,找到Tomca

Django开发时如何避免频繁发送短信验证码(python图文代码)

《Django开发时如何避免频繁发送短信验证码(python图文代码)》Django开发时,为防止频繁发送验证码,后端需用Redis限制请求频率,结合管道技术提升效率,通过生产者消费者模式解耦业务逻辑... 目录避免频繁发送 验证码1. www.chinasem.cn避免频繁发送 验证码逻辑分析2. 避免频繁

Win10安装Maven与环境变量配置过程

《Win10安装Maven与环境变量配置过程》本文介绍Maven的安装与配置方法,涵盖下载、环境变量设置、本地仓库及镜像配置,指导如何在IDEA中正确配置Maven,适用于Java及其他语言项目的构建... 目录Maven 是什么?一、下载二、安装三、配置环境四、验证测试五、配置本地仓库六、配置国内镜像地址

精选20个好玩又实用的的Python实战项目(有图文代码)

《精选20个好玩又实用的的Python实战项目(有图文代码)》文章介绍了20个实用Python项目,涵盖游戏开发、工具应用、图像处理、机器学习等,使用Tkinter、PIL、OpenCV、Kivy等库... 目录① 猜字游戏② 闹钟③ 骰子模拟器④ 二维码⑤ 语言检测⑥ 加密和解密⑦ URL缩短⑧ 音乐播放

Python使用Tenacity一行代码实现自动重试详解

《Python使用Tenacity一行代码实现自动重试详解》tenacity是一个专为Python设计的通用重试库,它的核心理念就是用简单、清晰的方式,为任何可能失败的操作添加重试能力,下面我们就来看... 目录一切始于一个简单的 API 调用Tenacity 入门:一行代码实现优雅重试精细控制:让重试按我

SpringBoot多环境配置数据读取方式

《SpringBoot多环境配置数据读取方式》SpringBoot通过环境隔离机制,支持properties/yaml/yml多格式配置,结合@Value、Environment和@Configura... 目录一、多环境配置的核心思路二、3种配置文件格式详解2.1 properties格式(传统格式)1.

Debian系和Redhat系防火墙配置方式

《Debian系和Redhat系防火墙配置方式》文章对比了Debian系UFW和Redhat系Firewalld防火墙的安装、启用禁用、端口管理、规则查看及注意事项,强调SSH端口需开放、规则持久化,... 目录Debian系UFW防火墙1. 安装2. 启用与禁用3. 基本命令4. 注意事项5. 示例配置R

PyCharm中配置PyQt的实现步骤

《PyCharm中配置PyQt的实现步骤》PyCharm是JetBrains推出的一款强大的PythonIDE,结合PyQt可以进行pythion高效开发桌面GUI应用程序,本文就来介绍一下PyCha... 目录1. 安装China编程PyQt1.PyQt 核心组件2. 基础 PyQt 应用程序结构3. 使用 Q

Redis MCP 安装与配置指南

《RedisMCP安装与配置指南》本文将详细介绍如何安装和配置RedisMCP,包括快速启动、源码安装、Docker安装、以及相关的配置参数和环境变量设置,感兴趣的朋友一起看看吧... 目录一、Redis MCP 简介二、安www.chinasem.cn装 Redis MCP 服务2.1 快速启动(推荐)2.

Spring Boot配置和使用两个数据源的实现步骤

《SpringBoot配置和使用两个数据源的实现步骤》本文详解SpringBoot配置双数据源方法,包含配置文件设置、Bean创建、事务管理器配置及@Qualifier注解使用,强调主数据源标记、代... 目录Spring Boot配置和使用两个数据源技术背景实现步骤1. 配置数据源信息2. 创建数据源Be