acenative / aceview Goto Github PK
View Code? Open in Web Editor NEWUse the wonderful ACE editor in your Cocoa applications
License: Other
Use the wonderful ACE editor in your Cocoa applications
License: Other
When find bar is visible (that is when you press Command-F) clicking location is wrong. You can test this very simple by making the find bar visible and then trying to select a word by double clicking.
This seems to be a cocoapods issue, but just wanted to give the heads up.
I add the framework, I add the ACEView folder, then this I add to the folder the Dependencies, but if I build the app I get this error!
'ACEView/ACERange.h' file not found
Hi,
The project has broken dependencies (i.e. ACEView > Dependencies > ace is empty). Cloning the project or saving it as ZIP reveals lots of missing files.
-- Tito
So it can be tested - currently it's all done in awakeFromNib, untestable.
I wasn't able to build the example app without first having to find an "emmit" and "ace" project. I couldn't find those but I did find the compiled app in the package, however I had to add the framework manually into the bundle.
That would be nicer if it built out of the box for easy testing because on a lazier day I may have skipped this really cool project. Thanks man!
I can't seem to subclass AceView. When i try to do so, the view appears blank white.
I would like to implement printing in my ACEView using app, but for some reason, only a frame gets printed (this behavior is exhibited by the example app as well).
I'm somewhat puzzled by this, as WebViews as such certainly should be printable, and if I load e.g. the ace kitchen sink demo http://ace.c9.io/build/kitchen-sink.html into a WebView, it prints just fine.
No matter what value you give to setFontSize it does not do anything.
Is there any special settings that needs to be performed before calling this method?
This library is great but it misses Objective-C and Swift syntax modes.
I know it depends on ace-builds
to add support, but would be great to figure something out.
When you enter find and replace. All is good the first time. After you click the first time on "Replace" button, then the selection in ace is offset. Replacing after that will just replace wrong text.
I'm investigating for a fix, but if you have a faster idea of what might be wrong please let me know.
ACE will implmenent a bunch of NSRange/NSIndex-like functionality (ajaxorg/ace#1162), which hopefully means ACERange and related code can be removed, instead using ACE's new native functionality.
Make the build not fail
Dragging anything a webView accepts causes the editor to be replaced with the dragged item.
Drag and drop operations should be either disabled or overridden to accept only text files and set the content of the editor instead of the webView.
Although ACEView implements the NSTextFinderClient protocol, I am unable to get search functionality via the standard Find... menu item in the Edit menu. Looks like it isn't responding to performFindPanelAction. Anything I can do to fix this and get Find to work?
Hello,
I haven't seen an ACEView/ACEViewDelegate
API to determine if the content of the view are not conforming to the specified language. For example, if I set the ACEView
mode to be ACEModeJSON
and I edit the contents removing a comma, a red "X" appears in the gutter (awesome!). I'd love to programmatically figure out if the view is showing one or more "X"'s so that I can redraw the rest of the UI accordingly. Did I overlook this API somewhere? Thanks!
All this when ajaxorg/ace#1189 is accepted.
I download the code, open xcode 4, run the demo, and complain can't compile. The project miss a lot of files and have other errors...
Hi... great library, easy to use and fast... thanks!
It seems like there have been a pretty decent amount of updates since the 0.0.4 release. Do you think you're ready to create a 0.0.5 release and push it to cocoapods? In particular, I'd like to use the setReadOnly method, but I'm sure there's some other good stuff in there since the last reason too.
Keep up the good work!
I've tried it like times... Creating an Iboutlet / nib, whatever does work.. Adding from code does not. Frustrating, weird.
Hey guys, I see that there is textfinder support and implementation in the ACEView class, and that the main ACEView class is a scrollview that wraps a webview. So in theory it should support FindBar.
However it does not. I tried it both in the Example application, and in my application, in both cases the find doesn't show up.
I stepped through the code a little bit, and it looks like it is being set up, and some of the methods are getting called.
However the find bar doesn't show. And in the Edit Menu under find options they are all greyed out.
I am basically using the code as is from the Readme.
Any thoughts or ideas? Is there some trick or method call that is missing?
This is a great Framework thanks for putting it together.
-John
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.