在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

相关文章

SQL Server配置管理器无法打开的四种解决方法

《SQLServer配置管理器无法打开的四种解决方法》本文总结了SQLServer配置管理器无法打开的四种解决方法,文中通过图文示例介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的... 目录方法一:桌面图标进入方法二:运行窗口进入检查版本号对照表php方法三:查找文件路径方法四:检查 S

Java中调用数据库存储过程的示例代码

《Java中调用数据库存储过程的示例代码》本文介绍Java通过JDBC调用数据库存储过程的方法,涵盖参数类型、执行步骤及数据库差异,需注意异常处理与资源管理,以优化性能并实现复杂业务逻辑,感兴趣的朋友... 目录一、存储过程概述二、Java调用存储过程的基本javascript步骤三、Java调用存储过程示

Visual Studio 2022 编译C++20代码的图文步骤

《VisualStudio2022编译C++20代码的图文步骤》在VisualStudio中启用C++20import功能,需设置语言标准为ISOC++20,开启扫描源查找模块依赖及实验性标... 默认创建Visual Studio桌面控制台项目代码包含C++20的import方法。右键项目的属性:

Linux中SSH服务配置的全面指南

《Linux中SSH服务配置的全面指南》作为网络安全工程师,SSH(SecureShell)服务的安全配置是我们日常工作中不可忽视的重要环节,本文将从基础配置到高级安全加固,全面解析SSH服务的各项参... 目录概述基础配置详解端口与监听设置主机密钥配置认证机制强化禁用密码认证禁止root直接登录实现双因素

嵌入式数据库SQLite 3配置使用讲解

《嵌入式数据库SQLite3配置使用讲解》本文强调嵌入式项目中SQLite3数据库的重要性,因其零配置、轻量级、跨平台及事务处理特性,可保障数据溯源与责任明确,详细讲解安装配置、基础语法及SQLit... 目录0、惨痛教训1、SQLite3环境配置(1)、下载安装SQLite库(2)、解压下载的文件(3)、

MySQL数据库的内嵌函数和联合查询实例代码

《MySQL数据库的内嵌函数和联合查询实例代码》联合查询是一种将多个查询结果组合在一起的方法,通常使用UNION、UNIONALL、INTERSECT和EXCEPT关键字,下面:本文主要介绍MyS... 目录一.数据库的内嵌函数1.1聚合函数COUNT([DISTINCT] expr)SUM([DISTIN

Java实现自定义table宽高的示例代码

《Java实现自定义table宽高的示例代码》在桌面应用、管理系统乃至报表工具中,表格(JTable)作为最常用的数据展示组件,不仅承载对数据的增删改查,还需要配合布局与视觉需求,而JavaSwing... 目录一、项目背景详细介绍二、项目需求详细介绍三、相关技术详细介绍四、实现思路详细介绍五、完整实现代码

Linux如何快速检查服务器的硬件配置和性能指标

《Linux如何快速检查服务器的硬件配置和性能指标》在运维和开发工作中,我们经常需要快速检查Linux服务器的硬件配置和性能指标,本文将以CentOS为例,介绍如何通过命令行快速获取这些关键信息,... 目录引言一、查询CPU核心数编程(几C?)1. 使用 nproc(最简单)2. 使用 lscpu(详细信

Go语言代码格式化的技巧分享

《Go语言代码格式化的技巧分享》在Go语言的开发过程中,代码格式化是一个看似细微却至关重要的环节,良好的代码格式化不仅能提升代码的可读性,还能促进团队协作,减少因代码风格差异引发的问题,Go在代码格式... 目录一、Go 语言代码格式化的重要性二、Go 语言代码格式化工具:gofmt 与 go fmt(一)

HTML5实现的移动端购物车自动结算功能示例代码

《HTML5实现的移动端购物车自动结算功能示例代码》本文介绍HTML5实现移动端购物车自动结算,通过WebStorage、事件监听、DOM操作等技术,确保实时更新与数据同步,优化性能及无障碍性,提升用... 目录1. 移动端购物车自动结算概述2. 数据存储与状态保存机制2.1 浏览器端的数据存储方式2.1.