EmEditor Syntax highlighting

This is where you can post about tools related specifically to the POL Server itself

Moderator: POL Developer

Post Reply
Zik
Novice Poster
Posts: 41
Joined: Sun Feb 07, 2010 9:39 am
Location: Ukraine

EmEditor Syntax highlighting

Post by Zik »

RusseL wrote:EmEditor
Hi RusseL, can you help me with EmEditor? where can i find escript configuration? or can you send yours?
And instead of pressing Ctrl+Shift+A, can I change it to a doubleclick?
And the last question about compiler, correct me if i did wrong:
Command: %WinDir%\system32\cmd.exe
Arguement: /k D:\MAHA\scripts\ecompile.exe D:\MAHA\scripts\$(Path)
Folder: $(Dir)
But i don't get compilation results
Compilation Summary:

D:\MAHA\pkg\skills\carpentry>
I'll post your reply then in a new EmEditor topic for others. Thx![/quote]

Hi. First of all create in emeditor homepath textfile escript.esy or something like this, no matter.
Paste inside

Code: Select all

; EmEditor Syntax File
;
; To import this file to an existing configuration, select Configuration
; under the Tool menu, select Define Configurations, select a configuration
; you want to import to, press [Properties], select the Highlight page, and
; press [Import].
;
; Submit your customized file to submit@emurasoft.com
; to be listed in www.emurasoft.com user files pages.
;
#Highlight=on
#BeginTag=
#EndTag=
#CommentBegin=/*
#CommentEnd=*/
#LineComment1=//
#LineComment2=
#SingleQuote=off
#DoubleQuote=on
#ContinueQuote=on
#Escape=\
#ScriptBegin=<%
#ScriptEnd=%>
#SpecialSyntax=off
#HighlightBraces=on
 
#Keyword color=4,word=on,rightall=off,case=off,insidetag=off,regexp=off,rightall2=off
if
then
elseif
endif
else
goto
gosub
return
global
const
local
dim
var
do
while
endwhile
exit
declare
function
endfunction
exported
array
use
include
break
continue
for
endfor
to
next
foreach
endforeach
repeat
until
program
endprogram
case
default
endcase
enum
endenum
downto
step
reference
out
inout
ByVal
string
long
integer
double
and
or
not
byref
error
dictionary
struct
in
true
false
Open EmEditor -> Tools -> Select Configuration -> Define Configuration -> new -> escript ...... blablabla

Association -> SRC and INC
Highlight(1) -> Import -> escript.esy (that u already created)
Ok, Exit to main menu
Tools -> External Tools -> Customize Tools -> New -> ecompile
Command: Z:\home\rl\pol099\scripts\ecompile.exe
Arguments: -f $(Path)
Initial Dir: $(Dir)


Open EmEditor -> Tools -> Select Configuration -> Define Configuration -> Escript -> Properties -> Keyboard
Category: External Tools
Commands: Ecompile

And you can bind it on F9 for example, and compile with 1 button
PS
Great thanks and 2 cups of tea to RusseL for his help!
Last edited by Zik on Mon Jun 24, 2013 11:09 pm, edited 1 time in total.
xeon
Forum Regular
Posts: 338
Joined: Fri Oct 31, 2008 3:18 am
Location: Italy

Re: Notepad++ Syntax highlighting

Post by xeon »

Use Scite!! :D
Zik
Novice Poster
Posts: 41
Joined: Sun Feb 07, 2010 9:39 am
Location: Ukraine

Re: Notepad++ Syntax highlighting

Post by Zik »

ok thank you, i wanted to try it.
installed it. Its big plus is a compiling in a single click, but it's not enough to compensate:
- terrible highlighting(i know it's customizable, but pascal style in N++ is much better)
- a little bit smaller font than in N++
- no line numeration, hence, no nice blue dots near lines as bookmarks
- no highlighting of all words in a whole text by a dbl-click
- N++ can search in all opened tabs at once(usefull to search in all includes, rather than recalling in which inc that function is)
- monospaced font is not by deafault

xeon, please tell me why it's better than N++ for you?

So one more additional question:
How to attach ecompile to Notepad++? Is it possible at least?

:bacondance: nice dancing btw))
RusseL
Forum Regular
Posts: 375
Joined: Fri Feb 20, 2009 8:30 pm

Re: Notepad++ Syntax highlighting

Post by RusseL »

EmEditor
Attachments
logon.src - EmEditor.png
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Notepad++ Syntax highlighting

Post by Yukiko »

Zik wrote:ok thank you, i wanted to try it.
installed it. Its big plus is a compiling in a single click, but it's not enough to compensate:
- terrible highlighting(i know it's customizable, but pascal style in N++ is much better)
- a little bit smaller font than in N++
- no line numeration, hence, no nice blue dots near lines as bookmarks
- no highlighting of all words in a whole text by a dbl-click
- N++ can search in all opened tabs at once(usefull to search in all includes, rather than recalling in which inc that function is)
- monospaced font is not by deafault

xeon, please tell me why it's better than N++ for you?

So one more additional question:
How to attach ecompile to Notepad++? Is it possible at least?

:bacondance: nice dancing btw))
I can help with some of your problems with Scite. Line numbers can be enabled easily under the "View" menu option. I can help you with enabling monospaced fonts as well. I will say that I have trouble changing or adding custom highlight colours to Scite.
Zik
Novice Poster
Posts: 41
Joined: Sun Feb 07, 2010 9:39 am
Location: Ukraine

Re: Notepad++ Syntax highlighting

Post by Zik »

RusseL wrote:EmEditor
Image

And thanks for the offer, Yukiko. But I'll try EmEditor first, it looks pretty powerfull.

UPD:
I've been using EmEditor for a week now, and thx to Russel, i enjoyed all its power. It's really worthy of its cost. It can do pretty everything i need, and helps me a lot with scripting!
biosek
New User
Posts: 12
Joined: Mon Feb 24, 2014 3:57 am

Re: EmEditor Syntax highlighting

Post by biosek »

i use notepad++ with plugin NppExec with script:

Code: Select all

SET compiler = c:\pol\scripts\ecompile.exe
NPP_SAVE
cd c:\pol
"$(compiler)" "$(FULL_CURRENT_PATH)"
UNSET compiler
Post Reply