Color markers to match stroke paint in Inkscape 0.91 - inkscape

The new version of Inkscape 0.91 doesn't have the Extensions -> Modify Path -> Color Markers to Match Stroke anymore. How do you color markers to match stroke in 0.91?

They should just take the stroke color automatically.
After upgrading to 0.91 it first didn't seem to work for me but that was because I had selected one of the "pre-colored" markers that show up in the marker list. After selecting one of the regular markers (below the horizontal line) it worked just fine.

Until they fix the bug, you can copy the old 'Modify Path -> Color Markers to Match Stroke' extension from inkscape 0.41 to the extension folder of your 0.91 version. This will allow you to use this extension again.
1- download inkscape's source code here:
2- extract the .7z file you just downloaded and go to the folder inkscape/share/extensions/ inside the extracted data.
3- copy the files markers_strokepaint.inx and markers_strokepaint.py to your extension directory. See here how to find your extension folder
4- close all instances of inkscape and start again. You should get this important extension back. =D

It seems to be a confirmed bug.
If you login in launchpad you can click on the green link to show that it also affects you, that will give priority to the developers to fix it.

Related

Gimp Image->Guides menu item disappeared

I wanted to use the guides in Gimp but I cannot find it at their traditional place.
The Image menu contains all the usual items (Duplicate, Mode, ..., Configure Grid, Image Properties), apart from the Guides which is supposed to be right above the Configure Grid.
How can I get this menu item back?
It is Windows 7 and Gimp 2.8.22.
I couldn't find any solution in Gimp to change the content of the menus so I decided to reinstall Gimp. That is, I used the official Add/Remove Programs from the Control Panel to delete it and then I executed the installer.
It did not solve the problem, ie. the Image->Guides menu item was still missing.
So, I
uninstalled Gimp again
I used regedit.exe to remove all the references to Gimp (there were some so the uninstall was not totally clean)
I deleted the folder called .gimp-2.8 from the C:\Users\<username>\ directory (it was still there so the uninstall did not do a perfect job).
then I installed it again.
This solved the problem so it seems that the registry or the .gimp-2.8 folder got corrupted.

Comparing the contents of two files in Sublime Text

I have two cloned repositories of two very similar open-source projects, which I have been working on in different instances in Sublime Text 2 to arrive at my desired result. Code from both of these projects was used. I have been using Git as version control for my project, but have not included the original projects. Thus, I would like to be able to quickly compare the contents of two files of the original project and compare the differences between them and my project.
I was hoping that Sublime Text 2 would have a "Compare File" feature, but I can't seem to find anything related to it in the settings or online. A third-party ST2 package to accomplish this task would also work well. Is such a task possible to do within the ST2 text editor?
You can actually compare files natively right in Sublime Text.
Navigate to the folder containing them through Open Folder... or
in a project
Select the two files (ie, by holding Ctrl on
Windows or ⌘ on macOS) you want to compare in the sidebar
Right click and select the Diff files... option.
Compare Side-By-Side looks like the most convenient to me though it's not the most popular:
UPD: I need to add that this plugin can freeze ST while comparing big files. It is certainly not the best decision if you are going to compare large texts.
There are a number of diff plugins available via Package Control. I've used Sublimerge Pro, which worked well enough, but it's a commercial product (with an unlimited trial period) and closed-source, so you can't tweak it if you want to change something, or just look at its internals. FileDiffs is quite popular, judging by the number of installs, so you might want to try that one out.
UPDATE (Given the upvotes, I feel there is a need for a complete step-by-step explanation...)
In the Menu bar click on File->Open Folder...
Select a folder (the actual folder does not really matter, this step is just to make the FOLDERS sidebar available)
If there is no Side Bar shown yet, make it appear via View -> Side Bar -> Show Side Bar
Use this FOLDERS-titled Side Bar to navigate to the first file you want to compare.
Select it (click on it), hold down ctrl and select the second file.
Having two files selected, right click on one of the two and select Diff Files...
There should be a new Tab now showing the comparison.
Original short answer:
Note that:
The "Diff files" only appears with the "folders" sidebar (to open a folder: File->Open Folder) , not with "open files" sidebar.
UPDATE JAN 2018 - especially for Sublime/Mac
(This is very similar to Marty F's reply, but addresses some issues from previous responses, combines several different suggestions and discusses the critical distinction that gave me problems at first.)
I'm using Sublime Text 3 (build 3143) on Mac and have been trying for about 30 minutes to find this File Compare feature. I had used it before on Sublime/Mac without any problems, but this time, it was trickier. But, I finally figured it out.
The file format does not need to be UTF-8. I have successfully compared files that are UTF-8, ISO-8559-1, and Windows-1252.
There is no File > Open Folders on Sublime/Mac. Many instructions above start with "Select File > Open Folders," but that doesn't exist on Sublime/Mac.
File compare works on a Project basis. If you want to compare two files, they must be saved to disk and part of the current project.
Ways to open a project
If Sublime/Mac is not running or if it's running but no windows are open, drag a folder onto the Sublime app.
If Sublime/Mac is running, select "File > Open", navigate to the desired folder, don't select a file or folder and click "Open".
Add a folder to a project. If the files you want to compare are not part of the same hierarchy, first open the folder containing one of the files. Then, select "Project > Add Folder to Project", navigate to the folder you want and click "Open". You will now see two root-level folders in your sidebar.
The Sidebar must be visible. You can either "View > Side Bar > Show Side Bar" or use the shortcut, Command-K, Command-B.
Files must be closed (ie, saved) to compare. Single-clicking a file in the Side Bar does not open the file, but it does display it. You can tell if a file is open if it's listed in the "Open Files" section at the top of the Side Bar. Double-clicking a file or making a modification to a file will automatically change a file's status to "Open". In this case, be sure to close it before trying to compare.
Select files from the folder hierarchy. Standard Mac shorcut here, (single) click the first file, then Command-click the second file. When you select the first file, you'll see its contents, but it's not open. Then, when you Command-click the second file, you'll see its contents, but again, neither are open. You'll notice only one tab in the editing panel.
Control-click is not the same as right-click. This was the one that got me. I use my trackpad and often resort to Control-click as a right-click or secondary-click. This does not work for me. However, since I configured my trackpad in System Preferences to use the bottom-right corner of my trackpad as a right-click, that worked, displaying the contextual menu, with "Delete", "Reveal in Finder", and.... "Diff Files..."
Voilà!
UPDATE OCTOBER 2017
I never knew this feature existed in Sublime Text, but the interface appears to have changed slightly from the previous answer - at least on OS X. Here are the detailed steps I followed:
In the Menu Bar click File -> Open...
Navigate to the FOLDER that contains the files to be compared and with the FOLDER selected, click the Open button, this makes the FOLDERS sidebar appear
In the FOLDERS sidebar, click on the first file to be compared
Hold the Ctrl on Windows or ⌘ on OS X, and click the second file
With both files selected, right click on one and select Diff Files...
This opens a new tab showing the comparison. The first file in red, the second in green.
View - Layout and View - Groups will do in latest Sublime 3
eg:
Shift+Alt+2 --> creates 2 columns
Ctrl+2 --> move selected file to column 2
This is for side by side comparison.
For actual diff, there is the diff function other already mentioned.
Unfortunately, I can't find a way to make columns scroll at the same time, which would be a nice feature.
The Diff Option only appears if the files are in a folder that is part of a Project.
Than you can actually compare files natively right in Sublime Text.
Navigate to the folder containing them through Open Folder... or in a project
Select the two files (ie, by holding Ctrl on Windows or ⌘ on macOS) you want to compare in the sidebar
Right click and select the Diff files... option.
No one is talking about Linux but all above answers will work. Just use Ctrl to select more than one file. If you are looking to compare side by side, Meld is lovely.
There's a BeyondCompare plugin as well. It opens the 2 files in a BeyondCompare window. Pretty convenient to open files from the sublime window.
You will need BC3 installation present in the system.
After installing the plugin, you will have to provide the path to the installation.
Example:
{
//Define a custom path to beyond compare
"beyond_compare_path": "G:/Softwares/Beyond Compare 3/BCompare.exe"
}

Color dark scheme for ColdFusion/Dreamweaver?

Is there anyone out there who has a dark color scheme for Dreamweaver (CS6) that includes coldFusion Code?
I was not able to find any and changing the colors by hand is really painful
Would be great if you could share one.
Tks
There are colour files for Dreamweaver, but I haven't found any that actually work with Coldfusiun. You can follow this guides process. It is a manual process, but it will tell you exactly what to change and as indicated by the latest update at the bottom it does work in CS6.
Copying from link in case link dies. Do note that you will have to go to the link to download the links.
Close Dreamweaver
Browse to: %APPDATA%\Adobe\Dreamweaver 9\Configuration\CodeColoring
Rename the Colors.xml file to something different – say Colors2.xml (This will be the file you go back to if you don’t like the new colour scheme)
Download and extract the the zip at the end of this article to the location you opened at point 2.
Open Dreamweaver and go to Edit/Preferences/Code Colouring and change the default background colour to #003
As a side note. If you are only using Dreamweaver to write Coldfusion, maybe you should consider looking at CFEclipse. I've found it to be much better than Dreamweaver at writing Coldfusion. Also it's built on top of Eclipse. Which has a plugin to change the colouring. It's also easier to change it manually.

Visual Studio 2012 variable font color reverts to black from user-selected color

I am rather new to using Visual Studio and I am attempting to use a color scheme that is very similar to Sublime Text 2 as I enjoy the highlighting of this text editor.
I have downloaded the Sublime Text Theme from here.
When I import the theme, the colors change except for the variable names and the std namespace. Those revert to black for some inexplicable reason. I have tried installing other themes/color schemes and all have the aforementioned problem. I have attempted to go into options and change the font color for variables/namespaces to the desired color. It will revert to black as soon as I leave options.
I have opened and closed VS 2012, rebooted my computer, and attempted the use of other .cpp files with no avail.
I can make the colors display properly by typing a character on line one and moving the #include <iostream> down a line. You can see the difference in the attached photo. Any thoughts on what is causing this or how to fix the problem?
PS, I can't add the photo to my post as a new member, so here's the link to imgur.
I have found the solution to this problem.
For some strange reason the theme is not imported correctly.
You can manually change the color of the "c++ Local variables" and the "c++ namespace" color by going to options -> enviroment -> fonts and colors.
I had the same problem. The way I solved it was by changing the theme from light to dark.
Check this thread to see how:
https://stackoverflow.com/a/9596223/1426601

Eclipse CDT: How can I change background color of tooltip in editor?

I'm using eclipse for coding C++ and Java. When declaration or definition is shown, background is black. It happens only in C++ srouce file. I dont have this problem while editing Java source files.
I have installed Eclipse Color Theme. I'm not able to find where i can set background color of this window. I have been searching in General/Appearance/Colors and Fonts and C/C++/Editor/Syntax Coloring without result.
Switching to a clean workspace might help but I found the curprit if you want to manually edit it. Look in:
[my workspace]/org.eclipse.core.runtime/.settings/org.eclipse.cdt.ui.prefs
for
sourceHoverBackgroundColor.SystemDefault=false
and make it "true". Restart Eclipse. Of course this assumes that your system default background colour is not black.
I had this problem because I installed this plugin. I tried out the themes but when I decided on the original and swapped back to it the tool tips were broken in this fashion. Unfortunately the only way I managed to fix it was by "reinstalling" eclipse.