Visio ShapeSheet Arrow Head doesn't match settings - visio

I'm pretty sure this is a bug within Visio but I can't figure out how to re-create it... or avoid it.
I have a tool that reads the direction of an arrow in Visio by looking at the "BeginArrow" and "EndArrow" cells in the ShapeSheet and it has worked great. However, a user was having issues with the software correctly detecting direction and I quickly realized why.
The Issue:
There are arrows with an arrowhead at the beginning or end but whose shapesheet has a value of 0 for each. If I simply edit the shapesheet cell that has a 0 and replace it with a 0, the arrowhead disappears so the arrow and shape sheet are back in sync. Similarly, if I change the arrow head and then change it back to what it was, the shape sheet no longer says 0 for the arrowhead.
Has anyone run into this issue before and figured out the cause?
Things I've tried:
I have tried copying and pasting arrows from other documents, copy-pasting from documents in another instance of Visio, dragging the arrows from other documents/instances of Visio, asked what the user did to create the arrows and it wasn't anything I hadn't tried to so I'm at a loss.

AFAK, this sort of odd things in Visio are usually version upgrade bugs. The "problematic" diagram may have been simply created in some previous version of Visio. So in a previous version of Visio that "broken" diagram may even still work properly. No software on this planet is free of glitches anyways; normally this sort of issues can be easily fixed by saving to VDX/VSDX (i.e. xml) format and then opening it and saving back to binary format.

Related

How do I get dbeaver to show the caret and table size

I am using dbbeaver Version 21.1.2.202107041908 on a mac. Yes.
Once upon a time there would be a ">" next to the word Tables and when I clicked it, all the tables would show with their size in mb next to them. This is no longer the case, instead the caret disappears when I click on it. When I double click public I get all the tables in another window and they're fine. I think I might have accidentally turned this feature off somehow. I've tried searching everything like "autoupdate" or "expand branches" or some such. It would be best to fix this, but short of that, what's the right vocabulary to investigate this issue?
If you have letters above the elephant and it doesn't relate to the name of any object in the folder, the carets will disappear. Can I just also say this was not a feature on pgadmin3 so it's not a solid picnic.

Selecting lines of code in Pycharm is working strangely

Recently, I wrote a block of code, and tried to copy and paste some functions around the code. But when highlighting the block of code I am trying to select, it exhibits strange behaviour. The first picture is the faulty case, and the second picture is the normal case.
First of all, I can click anywhere on my script even though I dont have spaces there.. if that makes sense (sorry I cant explain it any other way). Second, when I drag my mouse up, it drags up for only that section. Looking at the faulty screen shot, if I were to copy that block, it would only copy the parts in blue... Normally when I drag my mouse up, it automatically highlights the whole line as seen in the normal picture. Also, notice the giant white line on the faulty highlighting compared to the normal highlighting. I am wondering how I can go back to my old normal highlighting...
I think I was able to reproduce the problem by enabling column selection mode.
Try going to Edit-->Column Selection Mode. Uncheck it. If this was the problem, perhaps it was a finger flub which performed a shortkey operation.

VS Code extension API for registering pointer down and up and translating coordinates to line/character position

I have developed a VS Code Box Drawing extension which works by using selection's start and end positions to work out a level rectangle between the two positions in the text and replaces the edge characters of the rectangle with Unicode box drawing characters.
This works great with a selection start and end positions provided, but it also requires at least white space to already extend all the way to the right edge of where the box is supposed to end, otherwise the selection cannot be made that far.
I would like to achieve two things:
Be able to use mouse events and figure out would-be positions from them even if they extend beyond the length of the lines, so that I can back-fill the missing line length with white-space as I go drawing the box.
Be able to draw arrows (simple enough using the Bresenham's line algorithm).
I have read the Visual Studio Code API Reference and it has only one mention of the mouse pointer in this section underneath the languages header:
The rest, like tracking the mouse, positioning the hover, keeping the hover stable etc. is taken care of by the editor.
I have also read through the Extensibility Reference finding nothing relevant to what I aim to achieve.
This extension only makes sense for monospaced fonts, so additionally, I'd like to find out if there is a way to tell if the editor font is monospaced so I can reject extension activation with an error if that's not the case.
This is something the VS Code team doesn't currently enable (not a part of the extension API) not wants to enable in the near future:
I think that exposing mouse events to the extension API is not something that we'd be likely to add
Source comment on GitHub

Marking/commenting Matlab code?

Is there any way to mark Matlab code (in Matlab) via some kind of add-on? I'm looking for something similar to what Microsoft Word has with its "Review" mode where you can highlight a certain phrase/section and make a comment on the side. When I say "comment", I don't mean the regular code comments that you do with "%" in Matab.
I've googled for this, but I couldn't find anything. Anyone know if something like this exists that I may have missed? It would really help me when I'm reading someone else's code and I have to keep track of things / make comments for certain lines. Even if commenting isn't possible, it would be nice to be able to highlight certain lines via some kind of "highlighter" like the one in Word.
No. This isn't possible.
In fact, most editors and IDEs (if not ALL of them) that I know don't even support this feature as each IDE will have to be specific in the way this is implemented (à la Trojanian). The only thing that I can think of is if you print out the code in PDF, then use bubbles within the PDF viewer to tack on your comments.
However, if you want to highlight a specific line in your editor, you'll have to set this up in your settings. Go to preferences, then in the Editor / Debugger options, choose the Display option, then choose Highlight Current Line. Choose whichever colour you see fit. I'm running MATLAB R2013a on Mac OS, and this is the window I get:
You'll see the Highlight Current Line feature. Change that to whichever colour you want. I have it as gray because I do like having the current line highlighted.

Eclipse shows red lines at mouse pointer

Since I have re-installed my computer, there is a strange phenomena using Eclipse (both JAVA and C/C++).
The moment I press control+shift+s, two red lines appear near my mouse pointer.
Image of the red lines:
http://www.flickr.com/photos/92764732#N03/8431379591/
When I look in the settings-> keys, the control+shift+s is mapped to save all.
However, it does not save all, and only shows the red lines.
Defaulting the keys mapping does not work, I have tried this.
Does anyone has any idea on what these red lines mean, and how to get rid of them?!
Thanks in advance!
Jeroen
Well great, turned out it wasn't Eclipse after all.
Control+Shift+S is a shortcut from Mouse without borders (great tool by the way)!
So, fixed that one, on to saving a lot of files in one press :)