View Full Version : UltraEdit: qualcuno lo conosce / usa / ha usato ?!
Matrixbob
21-05-2008, 16:00
Volevo sapere se esistono suoi plugin per colorare e formattare il codice sorgente scritto in 4GL/ABL di Progress.
Il mio posto è 1 po' conseguenza di quest'altro al link che segue.
[4GL/ABL] IDE, color editor, color printing of code & source code formatter (like "AStyle"): how? (http://www.oehive.org/node/1163)
Advanced -> Configuration -> Editor Display -> Syntax Highlighting -> Open
Esempio di codice per il c++:
/L1"C/C++" C_LANG Line Comment = // Block Comment On = /* Block Comment Off = */ Escape Char = \ String Chars = "' File Extensions = C CPP CC CXX H HPP AWK
/Delimiters = ~!@%^&*()-+=|\/{}[]:;"'<> , .?
/Function String = "%^([a-zA-Z_0-9^[^]*]+^)[ ^t]+([^p*&:, ^t^[^]a-zA-Z_0-9.!]++)[~;]"
/Function String 1 = "%[a-zA-Z_0-9*]*::^([a-zA-Z_0-9^~]+^)[ ^t^p]++([^p*&:, ^t^[^]/*^-'=:&a-zA-Z_0-9./(!]++)[~;]"
/Function String 2 = "%[a-zA-Z_0-9][a-zA-Z_0-9^[^]]+[ ^t*]+^([a-zA-Z_0-9]+^)[ ^t]++([^p*&:, ^t^[^]a-zA-Z_0-9./(!]++)[~;]"
/Function String 3 = "%[a-zA-Z_0-9*&$^[^]*]+[ ^t]+[a-zA-Z_0-9*&$^[^]]+[ ^t*]+^([a-zA-Z_0-9]+^)[ ^t]++([^p*&:, ^t^[^]a-zA-Z_0-9./(!]++)[~;]"
/Function String 4 = "%[a-z_0-9^[^]*]++ [a-z_0-9*^[^]]+[ ^t]++[a-z_0-9*^[^]]+[ ^t]++^([*a-z_0-9]+^)[ ^t]++([^p*&:, ^t^[^]a-z_0-9./(!]++)[~;]"
/Function String 5 = "%^([a-zA-Z_0-9^[^]*]+^)[ ^t]++([^p*&:, ^t^[^]a-zA-Z_0-9./()!]++)[~;]"
/Member String = "^([A-Za-z0-9_:.]+^)[ ^t^*&]+$S[ ^t^[^]A-Za-z0-9_]++[(-);,]"
/Variable String = "%[ ^t]++^([!-ÿ~ ^t<>]+*[~a-z^p]^)$S[ ^t;,()^-]"
/Indent Strings = "{" "if" "else" ":"
/Unindent Strings = "}"
/Open Brace Strings = "{" "(" "["
/Close Brace Strings = "}" ")" "]"
/Open Fold Strings = "{"
/Close Fold Strings = "}"
/C1"Keywords" STYLE_KEYWORD
#define #elif #else #endif #error #if #ifdef #ifndef #include #include_next #line #pragma #undef
__asm __based __cdecl __declspec __except __far __fastcall __finally __fortran __huge __inline __int16
__int32 __int64 __int8 __interrupt __leave __loadds __near __pascal __saveregs __segment __segname __self
__stdcall __try __uuidof
auto
bool break
case char const continue
default defined do double
else enum extern
float for
goto
if int
long
register return
short signed sizeof static struct switch
typedef
union unsigned
void volatile
while
/C2"C++ Keywords" STYLE_KEYWORD
__multiple_inheritance __single_inheritance __virtual_inheritance
catch class const_cast
delete dynamic_cast
explicit export
false friend
inline
mutable
namespace new
operator
private protected public
reinterpret_cast
static_cast
template this throw true try typeid typename
using
virtual
wchar_t
/C3"Microsoft C extensions" STYLE_EXTENSION
dllexport dllimport
naked
thread
uuid
/C4"Operators" STYLE_OPERATOR
!
%
&
*
+
-
// /
<
=
>
^
|
~
cuoricinoblu
22-05-2008, 07:41
Segui le seguenti istruzioni : http://www.ultraedit.com/downloads/extras.html
scarica il wordfile e divertiti :)
Matrixbob
22-05-2008, 08:25
Segui le seguenti istruzioni : http://www.ultraedit.com/downloads/extras.html
scarica il wordfile e divertiti :)
:ave:
Sono file di testo ".txt" normale vero?
Devo rinominarli con qualche determinata estensione e metterli in qualche determinata cartella?
TNX!
Matrixbob
10-06-2008, 14:40
Segui le seguenti istruzioni : http://www.ultraedit.com/downloads/extras.html
scarica il wordfile e divertiti :)
OK sono scemo. Ho messo il .txt nella cartella d'installazione di UE, ma non lo vede come formattazione.
http://img519.imageshack.us/img519/3003/uffasz9.png
Come faccio ad aggiungerlo?
Matrixbob
11-06-2008, 11:21
OK, auto-answer:
must append the content of the wordfile.txt into the file wordfile.uew
ok.
, the "Tilda" character is the separator of the lenguage hightlight definitions.
Questo invece pare sia falso.
Matrixbob
21-06-2008, 13:16
Qualcuno sa se esiste un auto indentatore per il codice ml scritto?
So che per il C ad esempio CodeBlocks utilizza il plug in AStyle, per UE esiste qualcosa?
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.