In previous versions the code view always display 2 filter controls on the top bar just beneath the tabs. Using these controls you could filter by item and its properties/event, etc. Mine don't display how do i turn them on?
Open the Tools -> Options menu, then navigate to Text Editor > C# (or whatever language you're using) > General and be sure to check the "Navigation bar" entry under Settings
I have this form:
Green arrow: Tab General, and I'd like to keep it always visible, but when the form is smaller than the tabs, TPageControl creates a navigator (the red arrow).
It's good, but I'd like to allow the user navigate but keep showing the possibility to click on the General Tab.
Example:
In this picture, I used the navigator and I can't see General Tab anymore.
I'd like to keep it as the first tab on the PageControl, like a "fixed column" in Excel for instance.
Yes, I didn't found a way to fix the tab! But I solved my problem creating a custom page control based on our discussion on this thread.
You can check it here
Is there a text editor which offers horizontal, rather than vertical, scrolling (showing two pages side by side)?
I currently use TextMate, but would switch to any editor which offers this layout. I'm getting really bored of scrolling up and down, over and over.
I've attached a screenshot of MS Word, which has a side-by-side horizontal scroll view for documents longer than a page.
I want something like that, Any recommendations?
Emacs offers a follow-mode which you might find helpful ( see for instance here http://www.emacswiki.org/emacs/FollowMode).
A short description of how it is used and what it does:
You need to open a buffer in two windows and enter follow-mode using M-x follow-mode. This is actually a bit of a drawback, because you need to learn how to use emacs, if you don't know it already (imho learning how to use emacs is worth spending some time).
After entering follow-mode the second buffer will skip to the place where the first buffer ends, similar to the page-by-page view offered by Microsoft Word. Now if you move the cursor down one line at a time and you leave the first buffer window at the bottom, the cursor will appear at the top of the second. If you move further down and you are at the bottom of the second window, both buffers will scroll simultaneously, the same holds for page-wise scrolling using C-v and M-v.
If your monitor screen is wide enough, you can open a third window to further increase number of lines being displayed.
I have made a screenshot, which shows a text file opened in this mode: Screenshot auf Follow mode
Hmmm, it seems you are looking for layout features which you aren't likely to find in a text editor. Text editors are generally line based and don't understand the concept of pages. Text editors do things like code folding and allow lines to be wrapped or not. That is why text editors scroll in the vertical direction. These factors would affect pagination.
The concept of a page (and being able to lay them out side by side) doesn't really exist unless you are using a presentation manager such as a word processor or a desktop publishing package.
In vim: <Esc>:vsplit will open a second column for the file.
In all fairness, I should warn you that Vim has a steep learning curve, and will force you to wrap your head around new concepts like command mode / edit mode / visual mode. The results are definitely worth it, if you have the time to learn it.
I'm not sure if I know exactly what you want. Does Sublime Text 2's two-column layout with File > New View Into File do what you want?
A change on one side is reflected instantly in the other side, and you can scroll them independently. You can have up to four columns per window.
In LibreOffice Writer, go to View -> Zoom... and set Zoom factor to Fit width and height, and set View layout to Automatic. You can also set the number of columns manually, and if you choose two columns, you can use Book Mode.
With scroll-binding in vim, you can edit two files side by side: scroll-binding in Vim.
Show a text file with two columns in vim: http://vim.wikia.com/wiki/View_text_file_in_two_columns
I am looking at a menu option on the all commands tab of a TdxBarMananger. Is there a quick way to find where on the menu the current command is? At present I have to open the dfm file and search for the command name.
You can only search for a bar item by manually expanding sub menus. There is no a list of conformity which would allow you to quickly define where a certain BarItem is positioned.
I'm trying to merge two main menus together, but am having problems getting the right result with sub-items. I'm using the GroupIndex property on my MenuItems to control the merging/insertion.
Menu1 (with groupindices) is like this
File=10
Open=11
Close=12
Edit=20
Cut=21
Paste=22
Help=90
About=91
Menu2 is like this
Edit=20
Clear=23
Widgets=30
Widget1=31
Widget2=32
And I'm doing
Menu1.Merge(Menu2);
I want the combined menu to have a new top menu "Widgets"and a new "Clear" command in the Edit menu. "Widgets" is working fine, but the Edit Menu has lost cut and paste, which wasn't what I wanted.
How can I stop the Cut and Paste commands from disappearing?
The menu merge feature in Delphi works a bit differently than what you'd expect: it's non-recursive (unfortunately!). That means that when you call Menu1.Merge, Menu1's "Edit" menu gets replaced by Menu2's.
You have two options:
Add "Cut" and "Paste" manually to Menu2.
Write your own Merge function.
I had the same problem a while ago (see this SO question):
What I eventually ended up with, is
using the
Toolbar2000
package for all my menus and toolbars.
You can then download a very nice
piece of code, called
TB2Merge,
which does exactly what you want.
You could also base any custom-written menu merge code on TB2Merge, I guess...