Anybody know where the "Convert Brush to Resource" button went in Expression Blend 3? - expression-blend

Does anyone know where they put the "plus brush" in Blend 3 so that you can copy a brush into the resources?
alt text http://tanguay.info/web/external/plusBrush.png
Answer:
Stumbled onto it an hour later:
alt text http://tanguay.info/web/external/answerbrush.png

Related

Zoom only Text in Visual Studio Code

Is there a way to make Vs-code on Mac only zoom the text/file pane of the window? When I hit Command ⌘+ to zoom, it'll zoom all of the window, ie. also the icons on the left hand side and the file pane on the left as well.
Compare these two screen shots, maybe ;)
Vs-code window, normal
Vs-code window, zoomed in
I'd only like the source file (nfsd.sh in the screen shot) to be zoomed.
Answered in https://stackoverflow.com/a/41684631/5295392:
Out of Box solution for zoom in/out for text only:
Ctrl + Shift + P
Type (Open User Settings)
Search (Edit settings.json)
Add "editor.mouseWheelZoom": true
Save it.
You can use your mouse wheel to zoom in or zoom out only text in the text box.
Open your settings.json file and increase editor.fontSize to increase the size of the text on the source file.
Ctrl + Shift + P
Search 'Zoom'
Pick "Editor Font Zoom In"
Repeat till you get what you want.
On Mac, while pressing the command key, slide two fingers upward to zoom out. Slide downward to zoom in.

Microsoft Word Highlighting Text White

For some reason, whenever I create a Text Box and start typing, the background text is highlighted white and I can't make it transparent. This picture should explain everything:
I want to remove the highlighting so the gradient in the background shows through. I used to do things like this a lot, but for some reason Word won't let me now. Any suggestions?
I am on Word 2011 Mac
Got some clues here and finally found a solution for MSWord for Mac version 16.9:
Select the text you want to fix
Select "Design" Tab
Click "Page Borders"
Click the "Shading" Tab
Select Apply to "Text"
[Fill] is showing "No Color". Open the selection and re-select "No Color"
Hit "OK"
Worked for me. It is obviously a bug in Word.
Right-click the text box that you want to make invisible.
If you want to change multiple text boxes, click the first text box or shape, and then press and hold SHIFT while you click the other text boxes.
On the shortcut menu, click Format Text Box.
On the Colors and Lines tab, in the Fill section, click the arrow next to Color, and then click No Color.
On the Colors and Lines tab, in the Line section, click the arrow next to Color, and then click No Color.
Click OK. Your textbox's background is now invisible...
It seems the actual text highlight is your problem, so try:
Go into Borders and Shading, apply it to text, and set it to clear. Had me confused because I've never had to do this before.
As seen here.
I also searched around and had trouble finding this.
In Word for Mac 2011
Highlight the text
Click tables in the ribbon
Find the shading icon (looks like a paint bucket)
Click the down arrow next to the bucket and select No Fill
Change the text format from anything apart from Normal text.(important)
Solution 1
Select the Text box and go to the "format" tab,
modify the outline and fill options
if this isn't enough
Solution 2
select the Text box and right click for options
select the last option "format shape"

Getting caret position in visual studio's editor

I am currently developing a Visual Studio extension, that needs to open a WPF form after firing a menuCommand.
I want to open the form relativly to the caret position, so I need to get the Caret's pixel position.
I've checked This article
but it didn't work.
Help please?
Once you've got a IWpfTextView, you can do view.TextViewLines.GetCaretBounds(view.Caret.Position.BufferPosition) which will give you the position in the "text coordinate system". Adjusting by view.ViewportTop/view.ViewportLeft should give you the position relative to the UIElement that is the view. From there, view.VisualElement.PointToScreen will probably get it to screen coordinates.
I assume you're already figured out that you don't want to embed this UI into the editor directly? Because that's (mildly) easier.

vs2010 XAML Find highlight is very fade

As you can see at the following picture when I search for a word with "Find Next" button the highlight on the word I'm searching is very faded and difficult to see.
but when I search it with F3 I can see the highlight better because it's on blue background.
Is there any way to apply the blue background also on "Find Next" button??
Thanks!
I think the setting you're looking for is Tools->Options->Environment->Fonts and Colors->Show Settings for Text Editor->Inactive Selected Text.
I switched mine to the red colour that you see in the screenshot below as a test but from your question description you'll want to set Inactive Selected Text to the same value as Selected Text.

VS 2010 - find text in XAML editor

In VS 2010, when searching for text in the XAML editor, the highlighted text is highlighted in the lightest gray colour when not in focus. Is it possible to change the background colour of the highlighted found item text? I've tried changing the VS theme but cannot find the property which would set this colour. In the screenshot below, the text "Text" is selected but you can barely see it and its driving me mad.
It's a bug that it doesn't show up as the active selection color when you perform a Find. I didn't find a workaround for it until after VS2010 shipped, sorry :( I'll find the Connect bug for you to vote up and then update this answer.
WORKAROUND:
After clicking CTRL + F, then click on the scroll bar in the XAML to regain focus on the XAML and you'll see the find text in the correct colour!

Resources