salvadordf / WebView4Delphi

WebView4Delphi is an open source project created by Salvador Díaz Fau to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows.
https://www.briskbard.com/forum/
MIT License
280 stars 56 forks source link

SimplaMonacoEditor #58

Closed GrooverMD closed 4 months ago

GrooverMD commented 4 months ago

Not an issue @salvadorf. I have made a Monaco Editor demo wtih your excellent WebView4Delphi library, if you are interested.

salvadordf commented 4 months ago

Thank you very much! :D

Please, send that demo to take a look,

GrooverMD commented 4 months ago

I have github desktop but don't know how to do this.

GrooverMD commented 4 months ago

it would be nice to create a Monaco Editor component for FMX as synedit doesn't support FMX. It is only for FMX as I am trying to migrate from VCL to FMX. And the Monaco editor is open source.

salvadordf commented 4 months ago

Copy the directory with the Monaco Editor project inside the GitHub\WebView4Delphi\demos directory on your computer and use GitHub desktop to push the new files to your repository.

If everything goes right you should see the files in your repository.

You can also compress the directory with all the project files and upload it here using the "clip" button.

GrooverMD commented 4 months ago

Will try.

GrooverMD commented 4 months ago

Ahhh what clip button?

salvadordf commented 4 months ago

I received your zip file.

I read in the monaco-editor project that there are some issues loading the editor with a file:// scheme so I used the TWVBrowser.SetVirtualHostNameToFolderMapping function to create a virtual monaco.editor domain with an https:// scheme

Thanks for this demo!!!

GrooverMD commented 4 months ago

Wow Salvador,

Great work getting a demo for VCL, FMX, and Lazarus done so quick. It will make the WebView4Delphi library more interesting.

Regards, Mark.


From: Salvador Díaz Fau @.> Sent: Monday, 29 April 2024 10:00 PM To: salvadordf/WebView4Delphi @.> Cc: Mark S Day @.>; Author @.> Subject: Re: [salvadordf/WebView4Delphi] SimplaMonacoEditor (Issue #58)

I received your zip file.

I read in the monaco-editor project that there are some issues loading the editor with a file:// scheme so I used the TWVBrowser.SetVirtualHostNameToFolderMapping function to create a virtual monaco.editor domain with an https:// scheme

Thanks for this demo!!!

— Reply to this email directly, view it on GitHubhttps://github.com/salvadordf/WebView4Delphi/issues/58#issuecomment-2082837710, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACRP4H26KTKLHNWZ6BZBJTLY7ZHBJAVCNFSM6AAAAABG5Q2ABCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBSHAZTONZRGA. You are receiving this because you authored the thread.Message ID: @.***>