How to Stop Dropping Same Blocks Multiple Times in Grape-js Editor Panel - grapejs

How to Stop Using Same Block Multiple TImes in Grapes-js Editor
For Example I am using H1 Block on the Editor again if i drag and drop the H1 Block it should not be Drop in the Editor Panel

Related

Scintilla restore cursor - multiple instances

I have multiple instances of Scintilla in a winform, in different tabs. Scintilla seems to keep a blinking cursor in only one instance at a time. So when I switch to another tab, I need to click inside the textarea to make it appear (even though the instance is the ActiveControl), and then the current editor becomes the only instance remembering the blinking cursor. If I switch to another tab, the cursor is not there, but then if I switch back to the previous one, it's there. Is there a way to force Schintilla to restore the cursor ?

Visual Studio 2013 - Replace All Button gone (not just off screen)

I am unable to perform multi-file text search and replace (in Visual Studio).
In the past, when I opened the "Replace in Files" dialog, there were 4 buttons in the lower right. One of the bottom two buttons allowed me to "Replace All".
The two lower buttons (including "Replace All") are no longer present.
I believe this occurred after I changed some Windows settings so that I could use menus without the Magnifier.
It is not just a matter of the buttons being off-screen because the window is too large (although it is too large - they would be off-screen, if they were present).
I can drag the window and see the bottom, even though the top is then off-screen (I use AltWindowDrag, allowing me to hold the ALT key, and drag by any part of the window, not just the title bar).
The two lower buttons are not present. I'm unable to resize the window - when I try, nothing happens, or the window repositions so that I can see the title bar, but can no longer see the bottom.
The two buttons that are still present (Find Next and Replace) don't have keyboard shortcuts, so I presume that Replace All doesn't either. Nor can I select either of those two buttons using Tab, so probably can't select an "invisible" "Replace All" button that way.
Any help appreciated.
You can use Find and Replace by pressing Ctrl+H and to Replace All just use Alt+A.

Enterprise Architect - simple UI Tab Control

Is it possible to change number of tabs and tabs name in simple UI Tab Control? How to do it? (user interface diagram)
I'm using EA 11.
No. Tab 1 | Tab 2 | Tab 3 is part of the element's image and you can't change them. There is a workaround which works visually, but won't help if you're looking to generate code out of your models.
Create a Text element (in the Common toolbox), and give it the name of your GUI's first tab.
Set a different default fill and text color for the Text element (Right-click and select Appearence - Default Appearance).
Pick the Fill and Border Color for the Text element that best matches the Tab Control's foreground, either in the diagram toolbar or the Text element's context menu.
Move and resize the Text element to cover Tab 1.
Repeat as necessary for the other tabs, using the appropriate color.
The Text elements are local to the diagram they're in and are not shown in the project browser (they are diagram objects but not proper model elements), but they move with the Tab Control so it works visually.
By making several copies of the Tab Control and varying which Text element has the foreground color, you can use this technique to show the different panes.
You can change number of tabs and selected tab this way (at least in EA 13):
Open Properties of the Tab Control;
In "General" select "Wireframing" tab. You'll see "Tabs" property with a value "Tab1";
Select this "Tabs" property and click on "Notes" menu. An editor appears;
In this editor you can change number of names of tabs;
Close editor and for "Tabs" property choose selected Tab;

Vertical split of cshtml window in VS2013

In VS2013 I want to view the same cshtml file in 2 windows side by side (i.e. vertical split). I know how to do a horizontal split but that's not what I'm after here.
The usual approach is to duplicate the tab (WINDOW, New Window) for the file and then create a new vertical tab group.
However, I cannot find a way to duplicate a cshtml tab, since the New Window menu item is disabled for that file type.
It works fine for .cs and even .js files.
I tried to assign a key combo for Window.NewWindow, but it still won't work for cshtml files.
Any suggestions?
To enable "New Window" for cshtml you can change "Single Code Window Only" from 1 to 0 in the registry key HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0_Config\Languages\Language Services\HTMLX.
It was probably disabled for a reason and changing 12.0_Config is prone to overwrites on next VS update, but you can try how it works.

xcode shortcuts - add text/ limit text till page guide

I want to insert a piece of text using a keyboard shortcut or single click instead of copying ans pasting the whole time. Can I do that in Xcode?
also, I have a page guide at x=80 in my xcode editor. Can I limit all my statements till that vertical line?
i.e., if I am writing a new line, it should automatically inset a new line character when that page guide is reached. Also, any old code that I wrote I might want to wrap that up within x=80.

Resources