Hi all,
Are we allowed to access the sound files in "/System/Library/Audio/UISounds/“
in our iOS app store submissions, or if we want to play a short sound do we
have to supply our own sound file? I am guessing not, as they are outside the
app sandbox.
I want to play a sound indicating that th
I’m using temporary attributes for TeXnicle (LaTeX editor), but as others have
said, it doesn’t work if you need bold etc.
Anyway, you can see the source at github:
https://github.com/martinhewitson/TeXnicle
You need to look in
TeXnicle/TeXnicle/TeXEditor/TextView/TeXColoringEngine.m
Origina
On Fri, Dec 19, 2014 at 6:58 PM, Quincey Morris <
quinceymor...@rivergatesoftware.com> wrote:
> On Dec 19, 2014, at 05:36 , Charles Jenkins wrote:
> >
> > Could it be that even though the layout manager's temporary attributes
> are designed for purposes like syntax highlighting, folks don't actua
On Dec 19, 2014, at 13:39 , Charles Jenkins wrote:
>
> But when it comes time to save to a file format selected from AppKit
> additions (e.g. RTFFromRange:documentAttributes:), any unusual,
> application-specific attributes will be lost. There is no built-in file
> format you can select that w
> On Dec 19, 2014, at 1:39 PM, Charles Jenkins wrote:
>
> But when it comes time to save to a file format selected from AppKit
> additions (e.g. RTFFromRange:documentAttributes:), any unusual,
> application-specific attributes will be lost. There is no built-in file
> format you can select th
You can use attributes to hide pretty much whatever information you want in the
attributes dictionaries associated with individual characters in an
NSMutableAttributedString. For example, if you use named paragraph styles, each
character in memory can know which style has been applied to it.
On Dec 19, 2014, at 05:36 , Charles Jenkins wrote:
>
> Could it be that even though the layout manager's temporary attributes are
> designed for purposes like syntax highlighting, folks don't actually use them
> because they don't work right during edits?
I tried to use them once for underli
So I used DuckDuckGo to find "NSText syntax highlight," which led me to Uli
Kusterer's site where there an example syntax highlighting document project.
If I'm reading the code right, it appears Uli builds a new attributed string
with text colors and uses that to replace the original edited ra