With a debugger, I see that, on WM_PASTE, GetClipboardData is called with CF_TEXT, and returns bytes 5A 6F 6C 74 E1 6E 00 = Zoltán. Then further down the line some mfc140u functions are called (#310, #301, #12765 and #1046), but I haven't identified their purpose yet. I'm guessing that text conversion could be done there. Could it be that the 'wrong' MFC libraries are used from my Visual Studio 2017 installation?
I think you might be using CF_TEXT instead of CF_UNICODETEXT with GetClipboardData?
Frustrating problem ;) I'm using Windows 10 Pro build 16299 (64-bit). Microsoft implemented some changes to font handling in Windows 10 (see this article), but unless the paste action changes the font used for the character, I tend to think this is more of a unicode issue where the actual bytes change when they are pasted from the clipboard. Setting the compatibility mode for Msc-generator to Windows 8 does not change the behaviour. Also, copying a text with diacritics from Msc-generator to Notepad...
Hi Zoltan, I've tried this with both Lucida fonts, Courier New and Consolas. With Consolas, the box with a question mark appears, with the other two fonts an empty box appears. What I noticed is that if I copy the following two letters"éé" and paste them, this results in the box with the question mark or the empty box depending on the font. If I copy "aé" this results in "a", if I copy just "é" the cursor disappears and the editor starts to wait for another keystroke before it's released again. Note...
Obscure "You have more than one..." error with templates
Hi Zoltan, These are good outside-the-box suggestions, thanks! Unfortunately, I'm running into the error 'Cannot define designs inside a procedure' with the following code. defproc themecore($name) { defdesign $name { defstyle accent1fill [fill.color=accent1]; }; } defcolor accent1="#00ff00"; replay themecore("theme1"); defcolor accent1="#0000ff"; replay themecore("theme2"); use col; usedesign theme1; # Was expecting that both boxes are green box: Theme1 Accent1 Fill Style [accent1fill]; box: Theme1...
Hi Zoltan, congratulations with your newborn to you and your family! I know from experience that these are life-altering events :)
Hi Zoltan, The letters display fine when I type them, the mangling only occurs when text like this is copied and pasted in the builtin editor. The workflow is something like this: Start a new Msc-generator instance (select "Block Diagram" when asked for a chart type) Replace any existing text with the word "Zoltán" Select all text ([Ctrl]+[A]) Copy text ([Ctrl]+[C]) Paste text ([Ctrl]+[V]) Kind regards, Martijn Schiedon
Hi Zoltan, The letters display fine when I type them, the mangling only occurs when text like this is copied and pasted in the builtin editor. The workflow is something like this: Start a new Msc-generator instance (select "Block Diagram" when asked for a chart type) Replace any existing text with the word "Zoltán" Select all text ([Ctrl]+[A]) Copy text ([Ctrl]+[C]) Paste text ([Ctrl]+[V]) Kind regards, Martijn Schiedon
Hi Zoltan, The letters display fine when I type them, the mangling only occurs when text like this is copied and pasted in the builtin editor. The workflow is something like this: Start a new Msc-generator instance (select "Block Diagram" when asked for a chart type) Replace any existing text with the word "Zoltán" Select all text ([Ctrl]+[A]) Copy text ([Ctrl]+[C]) Paste text ([Ctrl]+[V]) Kind regards, Martijn Schiedon
Block templates and updating a nested element
Letters with a diacritic are replaced by a box with question mark on paste action
Attempt at color themes fails
Deviating indentation for specific statements
Hi Zoltan, I was able to pinpoint the exact conditions where it does not work. Please see the full sample below. defstyle orange_fill [fill.color=orange, fill.gradient=down]; defproc nested_orange_boxes { use orange_fill; box b1: Box 1 { box b2: Box 2 { box b3: Box 3; } } } // This is working use orange_fill; box b1: Box 1 { box b2: Box 2 { box b3: Box 3; } } // This is not working and reports undefined style replay nested_orange_boxes; Kind regards, Martijn
Activate a custom style definition as running (e.g. for a block)
An addition: I noticed that with 6.3.1, this only occurs with [Tab], not anymore with [Space].
Hi Zoltan, I discovered that with the latest 6.3.1, with the Quick Access Toolbar either below or above the ribbon, the filename is visible only if I set the window style to "Windows 7". All other styles (Office 2007 *) hide the filename in the titlebar... Maybe this helps with troubleshooting? Kind regards, Martijn On Fri, Jan 5, 2018 at 10:15 AM, "Zoltán Turányi" teknos293@users.sf.net wrote: status: accepted --> wont-fix Comment: Hi Martijn, I cannot reproduce the error. Can you please try displaying...
Hinting/autocompletion with unknown keywords
Variable assignment in conditional statement
Okay, I'm going to install that version today. And please don't worry about the bugs. You're offering a great tool and I'm glad I can do something in return.
Block language: Crash of layout engine and style dependency
Hi Zoltan, Thanks for explaining the option! This provides a workaround. I can reproduce the error in a block file, with below fragment. The option "TAB auto-indents" is on. defproc server($id, $product1, $product2 = "") { boxcol server~$id: "Server \Q($id)" [server] { box: "\Q($product1)" [product]; if $product2 then { box: "\Q($product2)" [product]; } }; } If I [Ctrl]+[A] the entire text and hit tab, just the "if" statement indent (and that of its contents) increases forever... Kind regards, Martijn...
Hi Zoltan, I think I found a case where a bug that I reported as fixed still occurs; Position the cursor at the beginning of the text multi 2 box hello;. Then type (for example) top (really, any text works) and hit [Space]. This results in topmultimulti 2 box hello; while I expect top multi 2 box hello. The bug only occurs when I specify the number of copies. Kind regards, Martijn
Re-export of PDF fails silently if exported file is opened
Block comment parsing
Shift-tab to decrease indent
Default export filename
Question about the use of "block" and "box"
Horizontal scrolling results in artifacts around current line
Crash with specific syntax errors
I don't have daily access to two displays, but was able to try this just yet. A difference in resolution between two monitors seems to be problematic for a lot of apps. When the Msc-generator window resides at the monitor with high DPI, and I detach the editor window, it becomes too big to put on the second (low DPI) monitor. When I start out with the Msc-generator window on the low DPI monitor, detach the editor and put it on the high DPI monitor, then I cannot resize the editor vertically. I prefer...
Hi Zoltan, this would be a good enough workaround for me. I believe that circumvents both the way probing currently works and the locking issue. The only difference would be that I explicitly reference this (pseudo) designlib, which is totally fine. As long as there is made no distinction between how hints/intellisense functions between included files and designlibs that is ;-) Thanks! Also for adding the feature of highlighting the current line in the editor, such a thing might seem small, but it...
To illustrate the issue, I've captured the two situations. The first is the 'maximized window'. The second one is the 'restored window size' version. Edit: sorry, cannot get the attached image to show up embedded in the post...
To illustrate the issue, I've captured the two situations. The first is the 'maximized window'. This one is the 'restored window size' version.
To illustrate the issue, I've captured the two situations. The first is the 'maximized window'. This one is the 'restored window size' version.
To illustrate the issue, I've captured the two situations. The first is the 'maximized window'. This one is the 'restored window size' version.
Exactly what I need. At first I thought defstyle block [shape=cloud, etc] was the answer, but that attribute has a different purpose.
I did some further investigation, and it's weird. If the windows is maximized on my machine, there is no filename in the title bar. If I restore the window size (double click the title bar) then a filename appears, trucated with three dots Current ESB Topology.blo... (despite there is enough room for the filename). Hovering over the application in the task bar also shows the filename Current ESB Topology.block - ... (less truncated), the hovering over the thumbnail that appears shows the filename...
Hi Zoltan, Thank you! I can confirm all fixed with the exception of this one: Clicking on a warning/error in a file that uses "include" jumps to a non-existing location in the editor or doesn't select the line with the error. Also, clicking on a shape which is defined in the included file selects a random text in the editor. Kind regards, Martijn
Hi Zoltan, Great! I didn't know that, the only style mentioned in the PDF manual is the #-style. I indeed see that both single line comments as well as block comments exist, and for all languages... // This is a comment /* This is some other comment */ Then I retract my request and will switch from #-style comments to the C-style. Please consider this resolved! Thanks! Martijn
File name in Window titlebar
Designlib probing
Image fill
Refinement styles (for custom shape)
Multi-monitor support
Block comments
Some bugs with 6.1.100/6.2 beta
Hi Zoltan, When I design and test a shape, which is pretty rare, I do that in the .signalling or .block file itself, so that I can quickly refresh and see changes I make. Only sometimes the shape ends up in a design library, partly because the locking of the designlib file requires closing all instances of the executable, which interrupts my 'flow'. I think the absence of specific hinting is not a problem, but maybe it's desirable from a consistency perspective; to make the behaviour and experience...
Hi Zoltan, I gave the new features a quick test, both on the 6.0.99 and 6.0.100 release. I used the default block ports ('ne', 'left', 'bottom', etc. with the exception of 'perp') and also option 3. I'm really happy that you implemented option 3 as well, this is a really quick and easy way to adjust the start and endpoints to my liking. I'm now using both the pixel shift and relative shift (e.g. +x10%) with my diagrams. I also defined a port on a custom shape, and while the port doesn't show up in...
Hi Zoltan, Both options #1 and #2 sound very promising and would provide me full control. I suppose it wouldn't always prevent lines from hiding each other, but the chance that they do diminishes by a fair amount. #1 would be comparable to Visio connector points, which I found a very useful feature developing custom Visio shapes. And I noticed that sometimes the starting direction of arrows is off, so the #2 compass points would fix that. Regarding the timing, is it an option to release and document...
Hi Zoltan, Both options #1 and #2 sound very promising and would provide me full control. I suppose it wouldn't always prevent lines from hiding each other, but the chance that they do diminishes by a fair amount. #1 would be comparable to Visio connector points, which I found a very useful feature developing custom Visio shapes. And I noticed that sometimes the starting direction of arrows is off, so the #2 compass points would fix that. Regarding the timing, is it an option to release and document...
Hi Zoltan, Both options #1 and #2 sound very promising and would provide me full control. I suppose it wouldn't always prevent lines from hiding each other, but the chance that they do diminishes by a fair amount. #1 would be comparable to Visio connector points, which I found a very useful feature developing custom Visio shapes. And I noticed that sometimes the starting direction of arrows is off, so the #2 compass points would fix that. Regarding the timing, is it an option to release and document...
Help with or suggestions to avoid overlapping arrows
Block rendering issue with multi box
Hi Zoltan, I started out using the signalling part 4 or 5 years ago actually, to be able to quickly flesh out (and validate) processes as found in SOA-environments, where multiple applications exchange messages with each other through service calls. There were a lot of similarities to message sequence charts. I specifically searched for a tool supporting text-based specification, because I like to focus on the content, not the pixel-perfect drawing part. So, more keyboard, less mouse, and intelligent...
Wow! Thank you! I saw your replies come in this weekend, but unfortunately could not respond until now, sorry for that. I really appreciate the example and the troubleshooting that you did. I'll try the new version ASAP.
An update: I noticed that the vertical column with pixels/leftovers/clippings of the current text is caused by the line number bar becoming wider (when more digits need to fit). Probably related to a refresh issue.
An update: I noticed that the vertical column with pixels/leftovers/clippings of the current text is caused by the line number bar becoming wider (when more digits need to fit).
Line numbers in the editor become invisible for larger fonts and line number update issues
Request for shadows for custom shapes (box language), overlapping lines in defshape and more
Hi Zoltan, Thanks for fixing this, escaped characters work as expected now, also on version 6.0! Kind regards, Martijn
Hi, I encountered a problem where a statement like below is not rendered correctly: path [label="\\path\\file.txt"] This becomes a box with the text athile.txt. Another demo is the dot fragment in the following article: https://stackoverflow.com/questions/34294445/how-can-i-use-in-a-label-in-graphviz-using-dot Could you verify if the escaping/de-escaping routines are implemented correctly for node/edge/cluster names and labels, and that special characters such as \n are also respected in (quoted)...
Hi Zoltán, sorry that I didn't see your request for the file before now. But good...
Hi, I tried the new version, but still a lot of crashing going on, to the point where...
Hi, I tried the new version, but still a lot of crashing going on, to the point where...
Hi Zoltán, I'm experiencing a lot of crashes with the latest bèta/experimental version....
Hi Zoltán, I noticed that the button "Export to PDF" from the Print Preview screen...
Hello Zoltán, if I make a change to my signalling file, and use the keyboard shortcut...
I'm happy to report that all issues mentioned in this thread have been fixed already....
Hi Zoltan, this is indeed fixed now. Thank you for this!
Hi Zoltan, I verified that this is fixed in version 4.3.1. Thank you!
Excellent! The exemption with the leading \n is also exactly how I would expect it...
Hi Zoltan, thanks for your answer. I'm assuming you mean that support is basically...
The use of multiple "\n\n" in comments and labels does not seem to work as I expect....
Hi Zoltán, opening certain .signalling files made before in 4.0 (or maybe 4.1), now...
Hello, I noticed that diacritics such as é and á stop the parsing/rendering of the...
I noticed a crash with Msc-generator 4.1-4.3 when using the following statement:...
Note to Zoltán: I posted this issue before in a topic that was originally about something...
I found another crash situation; if I use the following construct (which I know is...
Thanks, this helped. At first I thought it wasn't being made bold at all, but now...
Hello Zoltán, thanks for fixing this! And my apologies for responding late to your...
If I enter below text, and insert a ")" symbol before the word "unindent", i.e. complete...