在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

相关文章

C#实现千万数据秒级导入的代码

《C#实现千万数据秒级导入的代码》在实际开发中excel导入很常见,现代社会中很容易遇到大数据处理业务,所以本文我就给大家分享一下千万数据秒级导入怎么实现,文中有详细的代码示例供大家参考,需要的朋友可... 目录前言一、数据存储二、处理逻辑优化前代码处理逻辑优化后的代码总结前言在实际开发中excel导入很

SpringBoot+RustFS 实现文件切片极速上传的实例代码

《SpringBoot+RustFS实现文件切片极速上传的实例代码》本文介绍利用SpringBoot和RustFS构建高性能文件切片上传系统,实现大文件秒传、断点续传和分片上传等功能,具有一定的参考... 目录一、为什么选择 RustFS + SpringBoot?二、环境准备与部署2.1 安装 RustF

Python实现Excel批量样式修改器(附完整代码)

《Python实现Excel批量样式修改器(附完整代码)》这篇文章主要为大家详细介绍了如何使用Python实现一个Excel批量样式修改器,文中的示例代码讲解详细,感兴趣的小伙伴可以跟随小编一起学习一... 目录前言功能特性核心功能界面特性系统要求安装说明使用指南基本操作流程高级功能技术实现核心技术栈关键函

mybatis映射器配置小结

《mybatis映射器配置小结》本文详解MyBatis映射器配置,重点讲解字段映射的三种解决方案(别名、自动驼峰映射、resultMap),文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定... 目录select中字段的映射问题使用SQL语句中的别名功能使用mapUnderscoreToCame

Linux下MySQL数据库定时备份脚本与Crontab配置教学

《Linux下MySQL数据库定时备份脚本与Crontab配置教学》在生产环境中,数据库是核心资产之一,定期备份数据库可以有效防止意外数据丢失,本文将分享一份MySQL定时备份脚本,并讲解如何通过cr... 目录备份脚本详解脚本功能说明授权与可执行权限使用 Crontab 定时执行编辑 Crontab添加定

Java使用jar命令配置服务器端口的完整指南

《Java使用jar命令配置服务器端口的完整指南》本文将详细介绍如何使用java-jar命令启动应用,并重点讲解如何配置服务器端口,同时提供一个实用的Web工具来简化这一过程,希望对大家有所帮助... 目录1. Java Jar文件简介1.1 什么是Jar文件1.2 创建可执行Jar文件2. 使用java

SpringBoot 多环境开发实战(从配置、管理与控制)

《SpringBoot多环境开发实战(从配置、管理与控制)》本文详解SpringBoot多环境配置,涵盖单文件YAML、多文件模式、MavenProfile分组及激活策略,通过优先级控制灵活切换环境... 目录一、多环境开发基础(单文件 YAML 版)(一)配置原理与优势(二)实操示例二、多环境开发多文件版

Vite 打包目录结构自定义配置小结

《Vite打包目录结构自定义配置小结》在Vite工程开发中,默认打包后的dist目录资源常集中在asset目录下,不利于资源管理,本文基于Rollup配置原理,本文就来介绍一下通过Vite配置自定义... 目录一、实现原理二、具体配置步骤1. 基础配置文件2. 配置说明(1)js 资源分离(2)非 JS 资

MySQL8 密码强度评估与配置详解

《MySQL8密码强度评估与配置详解》MySQL8默认启用密码强度插件,实施MEDIUM策略(长度8、含数字/字母/特殊字符),支持动态调整与配置文件设置,推荐使用STRONG策略并定期更新密码以提... 目录一、mysql 8 密码强度评估机制1.核心插件:validate_password2.密码策略级

ShardingProxy读写分离之原理、配置与实践过程

《ShardingProxy读写分离之原理、配置与实践过程》ShardingProxy是ApacheShardingSphere的数据库中间件,通过三层架构实现读写分离,解决高并发场景下数据库性能瓶... 目录一、ShardingProxy技术定位与读写分离核心价值1.1 技术定位1.2 读写分离核心价值二