Open an empty editor in XCode - xcode

Sometimes I'll have a blob of text in my clipboard that I want to paste into a text file. Most often I open up another text editor (like TextWrangler) and paste it in there, but it seems a little clunky switching between that and xcode. Is there a way to open an empty text editor in Xcode without creating a new file? I don't want to save anything, I just want to look at the text I've copied.

That's not possible unfortunately. (as of Xcode 4.4).

Related

Changing the default extension when creating a new text file in Windows 10

When you Right click -> New -> New Text Document, the file comes up with this name: New Text Document.txt and the name part comes as selected so you can type a different name. But to change the extension part you need to go to the right of the . and then press delete multiple times. I want the default extension to come up as .rtf. And it would be pretty interesting to change the "New Text Document" to a reminder like "Create backup"
Why do I want to do this? I save my notes in rtf format where I can do simple formatting which is not supported by txt files. I don't want to use docx files since they open in Word which takes some time to open. I only use them when I'm writing a story or something. I like the simple interface of wordpad for notetaking and so I've set the rtf files to open in wordpad as default. Please help.
You can create a new rich text file directly, which will give you the extension .rtf
Right click -> New -> Rich Text Format

Pasting into web evernote appears double-spaced from OSX Terminal

On osx I want to copy output on terminal screen to evernote.com (the web version). I can do that, but it appears double-spaced.
However, if I take the same terminal output and instead paste into another editor, say Atom, then copy that same text from Atom and back into Evernote (the web version), the text appears normally spaced.
What's up???
Opening chrome developer tools, shows in the double-spaced case, the text is surrounded by paragraph tags, <p>, but in the normal case, the text is surrounded by line break, <br>, tags.
Is the problem some setting in Terminal, the clipboard itself, or Evernote?
It may be pasting with formatting, try right clicking and paste as plaintext or paste without formatting. FWIW the web version currently uses TinyMCE as the editor.
Didn't know about right-clicking within Evernote to paste content, as akhaku mentioned, so tried that, found no plain text option, but the "Paste and Match Style" did the trick.
Here's an image capture from the web interface to Evernote.
Notice the top half appears double-spaced. This was done with a simple copy (highlight with mouse then copy via Command-C) in the OSX terminal into Evernotes' web editor via OSX paste (Command-V).
The bottom half shows the result after right-clicking instead within Evernote, and choosing "Paste and Match Style".
Snapshot of results of pastes into Evernote

Multiple editor windows in Xcode

When coding in Xcode, I double-click a file in the "Groups and files" list, and it opens a new editor window. I have several of these open at once.
Until today.
Today, when I double-click a file in the list, it opens the file in the last editor window I was using, meaning I can only have one editor window up at any one time.
I guess I've switched some option somewhere by mistake. How do I get it back to the way I like it?
I'm using Xcode 3.2.5
In the top right of the editing window is an icon that says "grouped", perhaps you clicked on it by accident.
Click on it so it says "ungrouped", and you'll be back to opening multiple windows.
perhaps preferences>General>Open Counterpart in same Editor

How to prevent Firefox from copying numbers or #'s when copy and pasting on a Mac?

When I copy and paste from a website that formats their text using <*li>, I get numbers or #'s when I paste into any text editor on my Mac (running Snow Leopard). Is there anything I can get that is equivalent to Windows Notepad, that will NOT copy the formatting, and just give me the text? Example of a site that I copy/paste from that gives me #'s or numbers:
http://themeshaper.com/wordpress-theme-sidebar-template/
Use Paste As Plain Text in Word or Open Office or use a pure text editor like SciTE.
Most Cocoa applications that have a text editing interface have a Paste and Match Style option in the Edit menu. This will paste the text without pasting formatting.

How to set Wordpad's default plain-text font?

I much prefer Wordpad to Notepad in Windows 7 for quickly checking out source files, namely because Notepad doesn't display most correctly if the file was written in Unix.
However it saddens me that I can't chose the plain-text mode's default font.
Is there a way to change it? I'm guessing registry here, if at all.
Open a new document, set the default font and size, and save the file as
"wordpad.wri". Close wordpad. Right click on the saved file and select
Properties. On the general tab check read-only, apply your changes and
click OK.
Whenever you want to launch wordpad, do so by double clicking the saved
wordpad.wri.
[src: Tom Porterfield ]
You can change also the Icon of the shortcut, putting the icon of the Wordpad program, and to change also the name of the shortcut, so it will look as it's really the Workpad program.

Resources