Posts

Post not yet marked as solved
0 Replies
1.6k Views
I turned on the preference setting "xcode "highlight instances of selected symbol" not working" so symbols would highlight with the underline. I have the project NewtonsCradle open and the file NewtonCradle.swift open. When I select a symbol inside of a function it doesn't highlight the other occurences. I have seen it work with other files but I can't reproduce it. I changed the file and saved it to make sure it was wrightable thinking that was the problem. Also the Refactor items are all greyed out.
Posted
by mretondo.
Last updated
.
Post not yet marked as solved
2 Replies
725 Views
I'm trying to get the current source document using applescript. I need to modify the text selection. Getting the first, last or front source document doesn't work all the time. You ask for front document and it may be correct. Then you change docuemts and ask again and you still get the last one. It also needs to work if Tab windows are shown. I don't see any object that contains the current editing document. I also need to know if the document has the current focus, don't want to do a copy if the edit window isn't the focus.
Posted
by mretondo.
Last updated
.
Post not yet marked as solved
10 Replies
370 Views
Some Mac applications use "Show" and others use "Reveal" in menus. There different even within Apple's software. What should I be using? As an example I've seen both of these in menus "Show in finder" and "Reveal in finder" and both do the same thing.
Posted
by mretondo.
Last updated
.
Post not yet marked as solved
0 Replies
362 Views
How can I disable my extensions menu item if the editor doesn't have focus i.e. first responder? I have a menu item maped to Ctrl+C that I want my extension to handle. But I need xcode to pass the Ctrl+c to the Edit->Copy menu item is any other edit field has focus. I'm preforming additional functionality that's only relivent if your editing in the Standard Editor.
Posted
by mretondo.
Last updated
.
Post not yet marked as solved
1 Replies
1.3k Views
I built my Xcode 9 extension in Xcode 10. I then ran it in the debuger version of Xcode (dark grey) but it doesn't show up at the bottom of the Editor menu. Also, it doesn't show up in System Preferences>Extensions. I then tried to create a simple test extesion it also doesn't show up inder the Editor menu.
Posted
by mretondo.
Last updated
.