Copy Notepad++ text with formatting?
Here is an image from notepad++ when you select text to copy as html. and how the formatted text looks like after pasting it in OneNote (similar to any other app that supports “Paste Special”):
Here is an image from notepad++ when you select text to copy as html. and how the formatted text looks like after pasting it in OneNote (similar to any other app that supports “Paste Special”):
First of all… Why does the OP’s (updated) code not work There actually are two factors. First of all, there is an issue in the OP’s code, to add a rectangle to a path he uses canvas.Rectangle(rect); Unfortunately this does not what he expects: The Rectangle class has multiple properties beyond the mere coordinates of … Read more
This is a known bug that we have fixed in VS 2015, however you could have been affected if you installed the “Universal Windows App Development Tools” during a specific period of time. We will soon be publishing a KB with the following workaround: If the “Universal Windows App Development Tools” are still installed: Go … Read more
Sounds like you are dealing with a DSL (Domain Specific Language). What you are looking for sounds exactly like XText. Here’s an extract from the page: Xtext is a framework/tool for development of external textual DSLs. Just describe your very own DSL using Xtext’s simple EBNF grammar language and the generator will create a parser, … Read more
I had this very same problem when I started using vim. The solution is simple, you just have to edit the c syntax file used by vim, here’s how to do it: When you start editing a C or C++ file, vim reads the default c syntax file located in $VIMRUNTIME/syntax/c.vim (Where $VIMRUNTIME is where … Read more
In Sublime Text (confirmed in both v2.x and v3.x) there is a menu command: View -> Syntax -> Open all with current extension as …
In Xcode 4, I haven’t been able to find a “Rebuild Code Sense” button either, but if you go to Window -> Organizer, select the Project tab, and click “Delete…” next to the Derived Data folder, it seems to have the same effect. (I got that tip from http://blog.slidetorock.com/xcode-4-code-sense-autocompletion-problems, which indicates that it got it … Read more
StackOverflow uses the Prettify library.
1.) Go to Project –> Build Settings –> Header Search Paths 2.) Add “$(SRCROOT)/**” 3.) Close and reload the project 4.) Go to Xcode –> Window –> Organizer –> Projects –> $YourProject –> Delete Derived Data 5.) Wait a moment until XCode rebuild all indicies To get more information activate verbose logging: 1.) Increase Xcode … Read more
I managed to create a syntax highlighter for Android, based on the Prettify. It was easy, actually, when I found the Java Prettify. Just download it (sadly, it is not published for maven) and add its jar to the build path of you application. The syntax highlighter I created based on it: public class PrettifyHighlighter … Read more