ictoolkit / swiftymonaco Goto Github PK
View Code? Open in Web Editor NEWSwiftyMonaco is a wrapper for Monaco Editor from Microsoft
License: Apache License 2.0
SwiftyMonaco is a wrapper for Monaco Editor from Microsoft
License: Apache License 2.0
There were a lot of changes to the way Monaco Editor works. Basically, this package needs to be rewritten to support all latest features (including web language workers).
There is a need for syntax highlighting in SwiftyMonaco to let customers easily understand syntax.
Add modifier to pass syntax highlighting settings to Monaco Editor:
// C++
SwiftyMonaco(text: .constant("// something"))
.syntaxHighlight(.cpp)
// Swift
SwiftyMonaco(text: .constant("// something"))
.syntaxHighlight(.swift)
// Verilog
SwiftyMonaco(text: .constant("// something"))
.syntaxHighlight(.verilog)
Hi I've tried to use the library. but the app just crashes with the following message
2021-08-30 20:32:59.666406+0200 DBTools[58086:3348586] [Process] 0x7f9ced032020 - [pageProxyID=5, webPageID=6, PID=0] WebPageProxy::tryReloadAfterProcessTermination: process crashed and the client did not handle it, not reloading the page because we reached the maximum number of attempts
Steps to reproduce:
When I run the app nothing happens.
I've tried both the Static and Dynamicly linked.
i'm having trouble seeing the ui
(making a MacOS app)
Now on Ventura, when clicking and dragging to select text, the console is filled with the following error:
[Sandbox] Could not enable Mach bootstrap, errno = 1.
And when typing, this error:
=== AttributeGraph: cycle detected through attribute xxxxxxx ===
Hi!
Whenever I try to run the code in iPadOS or iOS, I can't type anything in the Code Editor! It is working on macOS without a problem.
I've tried on iOS 14 and iPadOS 15!
Thank you and amazing job with the library! :)
SwiftyMonaco automatically detects the theme, but it can't update it when it changes during execution.
Use UIKit
and AppKit
features to handle this change.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.