Trolledge icon indicating copy to clipboard operation
Trolledge copied to clipboard

Assumes Hex View for .p and .pp file extensions.

Open 3FLLC opened this issue 8 years ago • 1 comments

Hello, I am evaluating your editor as a possible Windows/Mac front-end to our compiler. However, opening standard Apple .p for Pascal Source - jumps to Hex View ... is there a way to disable this?

It also does it for Free Pascal .pp Pascal Source.

Also, would you be open to adding support to Ctrl-R or F9, to run the current source or project through the command line shell in your configuration screen. I have code I can give for both platforms you support that should work in Delphi - to shell and trap output, either as a returned String w/ CRLF - to render as a stringlist, or to shell and trap via PIPEs.

Looking forward to working with you on these 2 topics.

3FLLC avatar Aug 11 '17 15:08 3FLLC

Yes, the .p and .pp file types could be added to https://github.com/FMXExpress/Trolledge/blob/master/uFileTypeHelper.pas

How compilation would work would be a command line setting could be defined and then a compile action would be setup to execute the command line against the current file.

Theoretically it would also be possible to compile with FMXLinux now which would give it Linux support as well.

FMXExpress avatar Aug 12 '17 06:08 FMXExpress