Tag Info

New answers tagged

1

First of all, there is some basic concept here: the programs and the source code that you are editing are pure text --- there is no color or style information in the file. It is the editor that decides what color and style to apply when showing it to you. You can easily check that different editors will highlight the structure of your code in different ways. ...


1

The syntax color feature is provided per filestype by the IDE/editor and there's no way to export it or save it as part of the original text file. If your goal is to present the original source with syntax highlighting, I'd suggest to use http://tohtml.com/ and save the rich text preview into a document that supports this format, like ODF text document.


2

I'm presuming you want to create your own GUI I recommend to use opengl if you want to have portable code between platforms. you need to write draw functions that will draw the GUI element(such as text input fields/buttons...) and write event function that goes with them(on mouse click,on focus..). Here is a Tutorial to get you started


2

In this excercise grep, sed, and awk will be your friends. Here's a hint for the first problem: Parsing the IP from the line of junk This will work if each IP is on it own line, surrounded by garbage, with @ signs on each side of the numbers. 'test' is just a file I pasted your example into grep -nPo '@\d{1,3}@' test | sed 's/@//g' grep: -n prepends the ...


3

There also is a well maintained ppa for installing the most recent version of TeXstudio (currently 2.6.6.): ppa:blahota/texstudio This gives you the advantage to install through your default package management, and to get regular updates. Please read more on PPAs here: What are PPAs and how do I use them?


2

xUbuntu : The 'x' stands for whatever version. So, in this case, "xUbuntu" means "Ubuntu or Xubuntu or Kubuntu or Lubuntu". Which one should I choose ? : In my opinion, the best would be to take the xUbuntu way, because it's more likely to have the needed dependencies for Ubuntu. Should I ask the developers ? : I don't think it's necessary, ...



Top 50 recent answers are included