Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
89 user(s) are online (54 user(s) are browsing Forums)

Members: 2
Guests: 87

kishigo, flash, more...

Headlines

 
  Register To Post  

« 1 (2) 3 »
Re: Syntax highlighting -- need these?
Just popping in
Just popping in


See User information
@all
Thanks for the good feedback.

@trixie
I tried to convert the MUI texteditor class to ReAction. I almost had it working, but gave up on it.
I want a full-featured and fast editor. Classes kind of limit some things. Jamie Krueger is running into some problems with his AVD that the richeditor.class is causing.

@walkero
Localization is done, albeit very basic.
The files are simple XML so anyone can make new ones.

@kas1e
I don't program on my Amiga because of the lack of a good editor. I program on Windows with EditPlus, turn to Amiga, FTP code over, compile, run. Very tedious and slow. CodeBench is too slow to start up. I will be able to write on my Amiga soon.

@Amigo1
struct has vertical selection. Hold Alt key and click and drag.


Workbench Explorer - A better way to browse drawers
Go to top
Re: Syntax highlighting -- need these?
Just can't stay away
Just can't stay away


See User information
@mritter0

+1 for CSS, SQL, Javascript and JSON.

BTW, can a file be highlighted in more than one syntax? E.g. it is quite common to have files with HTML and embedded PHP (and even SQL inside that), or HTML and embedded JS.

I assume "Localization" means .cd and .ct files? If not, +1 for those too.

Incidentally, the MUI texteditor.mcc class was already converted to ReAction many years ago, IIRC, by Allan Odgaard himself for OS 3.5 or 3.9 (subsequenly rewritten for OS4 by Stephan Rupprecht). That became the texteditor.gadget (on which, I think, the richeditor.gadget was subsequently based? Edit: Not the case, see next post by Rigo.).

Best regards,

Niels


Edited by nbache on 2019/6/28 9:10:46
Go to top
Re: Syntax highlighting -- need these?
Supreme Council
Supreme Council


See User information
@nbache

Off topic here, but just to dispell any rumours: Richeditor was written from scratch, it does NOT contain code from anywhere else.

Simon

Comments made in any post are personal opinion, and are in no-way representative of any commercial entity unless specifically stated as such.
----
http://codebench.co.uk
Go to top
Re: Syntax highlighting -- need these?
Just popping in
Just popping in


See User information
@nbache
As of right now just one syntax is used. Unless I put multiple in one file, like HTML+CSS+JavaScript. But still keep CSS and JavaScript also separate since the file is identified by it's extension.

.html would be multi-file
.css would CSS only
.js would be JavaScript only


Yes, Localization is .cd|.ct files. Not much to do with them.

Go to top
Re: Syntax highlighting -- need these?
Home away from home
Home away from home


See User information
@mritter0

Quote:

I want a full-featured and fast editor. Classes kind of limit some things. Jamie Krueger is running into some problems with his AVD that the richeditor.class is causing.

Sounds good. Are you also going to include code hints and highlighting compilation warnings & errors? They're both very useful features, but are also challenging to make them work fast.

Hans

http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
Go to top
Re: Syntax highlighting -- need these?
Just can't stay away
Just can't stay away


See User information
@Rigo

Quote:
Richeditor was written from scratch, it does NOT contain code from anywhere else.
Thanks for the correction, my mistake/false memory. Sorry. (Earlier post corrected).

Best regards,

Niels

Go to top
Re: Syntax highlighting -- need these?
Just can't stay away
Just can't stay away


See User information
@mritter0

Quote:
As of right now just one syntax is used. Unless I put multiple in one file, like HTML+CSS+JavaScript. But still keep CSS and JavaScript also separate since the file is identified by it's extension.
Right, that would probably work fine for most purposes.

Not sure how it is done in NotePad++ or VS or similar on Windows, and of course it's always a little disconcerting to have to rely on arbitrary bits of filenames such as extensions - we never had to worry about that in AmigaOS (well, originally, at least ).

Best regards,

Niels

Go to top
Re: Syntax highlighting -- need these?
Home away from home
Home away from home


See User information
@nbache

Quote:

and of course it's always a little disconcerting to have to rely on arbitrary bits of filenames such as extensions - we never had to worry about that in AmigaOS (well, originally, at least ).


It would be helpful to be able to choose the filetype from a menu for those files with unexpected or no extention.

Python or perl scripts often do not end in .py or .pl if they are being treated as applications for example. Similarly with ARexx i guess.

Go to top
Re: Syntax highlighting -- need these?
Quite a regular
Quite a regular


See User information
@kas1e

Quote:
And none of editors we have have normal ability to do vertical selection of text areas like done in lets say "Far" on win32, or notepad++


You mean something like using the ALT key while moving the mouse as in Golded (Cubic IDE) ?


Bill.

Go to top
Re: Syntax highlighting -- need these?
Just popping in
Just popping in


See User information
@Hans
No code hints or handling compilation errors. Maybe down the road. Working on core editor features first.

@broadblues
There is the ability to choose type from menu. I wanted that, too. So you don't have to save it with an extension first.


Workbench Explorer - A better way to browse drawers
Go to top
Re: Syntax highlighting -- need these?
Quite a regular
Quite a regular


See User information
@mritter0

+Hollywood too

AmigaOS 4.1 FE Update 2 on Sam440ep-flex, 800Mhz, 1GB RAM, Radeon 9250 Resized Image
A1200/040, 2+4MB, external 3.5''HDD / A1200 (spare) / A500+ (sold) / C128 (sold)
http://m4rko.com/AMIGA
Go to top
Re: Syntax highlighting -- need these?
Just popping in
Just popping in


See User information
@mritter0

I would *LOVE* to use a modern text editor on AmigaOS!!
I am ready to support it!

I am an addicted Notepad++ user and use quite a lot the functions offered by the TextFX plugin, and would love to see some of them implemented in a future release.
See available functions in the following animated gif

Resized Image


Resized Image

Go to top
Re: Syntax highlighting -- need these?
Just can't stay away
Just can't stay away


See User information
@broadblues

Quote:
The full Codebench program's feature set has expanded considerably though, perhaps you need to switch some features off? I never ran it with the maxiumu dictionary settings for example.

It never occurred to me that the program's settings would slow down the gadget but now that you've mentioned the dictionary it makes perfect sense. Will have a look at it, thanks for the tip!

@mritter0

Quote:
I want a full-featured and fast editor. Classes kind of limit some things.

I know: a gadget will hardly ever offer the same as a full-fledged editor. Still, a gadget for a more sophisticated text editing is something we lack a great deal.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top
Re: Syntax highlighting -- need these?
Just popping in
Just popping in


See User information
Maybe some of you can help speed the process up of adding languages. (I have already added 6 that were suggested or on my list.)

Can you point me to lists of functions/commands that I can copy/paste? I am not going to type in hundreds of items.

BlitzBasic
6502 Assembly
JSON
Lua
Markdown
Hollywood
Amos (if OS4 applicable)

Workbench Explorer - A better way to browse drawers
Go to top
Re: Syntax highlighting -- need these?
Just popping in
Just popping in


See User information
6502/65C02/65816

ADC
AND
ASL
BCC
BCS
BEQ
BIT
BMI
BNE
BPL
BRA
BRK
BRL
BVC
BVS
CLC
CLD
CLI
CLV
CMP
COP
CPX
CPY
DEC
DEX
DEY
EOR
INC
INX
INY
JMP
JSR
LDA
LDX
LDY
LSR
MVN
MVP
NOP
ORA
PEA
PEI
PER
PHA
PHB
PHD
PHK
PHP
PHX
PHY
PLA
PLB
PLD
PLP
PLX
PLY
REP
ROL
ROR
RTI
RTL
RTS
SBC
SEC
SED
SEI
SEP
STA
STP
STX
STY
STZ
TAX
TAY
TCD
TCS
TDC
TRB
TSB
TSC
TSX
TXA
TXS
TXY
TYA
TYX
WAI
WDM
XBA
XCE


Edited by Kamelito on 2019/6/29 22:21:14
Edited by Kamelito on 2019/6/30 11:59:39
Edited by Kamelito on 2019/6/30 12:03:45
Go to top
Re: Syntax highlighting -- need these?
Home away from home
Home away from home


See User information
@mritter0

JSON is just javascript.

Go to top
Re: Syntax highlighting -- need these?
Just popping in
Just popping in


See User information
@broadblues
That's what I thought.

@Kamelito
Thanks.

@all
I am looking for sites that tell me a lot of details about the language. Or if you have some code examples that editors like NotePad++ or Amiga's gvim has highlighting for so I can see what it should look like. (Functions, comments, numbers, etc.)


Workbench Explorer - A better way to browse drawers
Go to top
Re: Syntax highlighting -- need these?
Just can't stay away
Just can't stay away


See User information
@mritter0

Lua keywords:

Quote:

and break do else elseif end
false for function goto if in
local nil not or repeat return
then true until while



Lua functions are listed at the bottom of this page: https://www.lua.org/manual/5.3/

Go to top
Re: Syntax highlighting -- need these?
Just popping in
Just popping in


See User information
6502.org

Go to top
Re: Syntax highlighting -- need these?
Just can't stay away
Just can't stay away


See User information
@mritter0
Take a look inside "langs.model.xml" file that comes with notepad++ it has a list of language syntax.

Any beta/alfa/screengrab so we can see struct preview?

Keep the good work!!!

Go to top

  Register To Post
« 1 (2) 3 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project