How to use same font for every file type in emeditor? - emeditor

my css and txt files use different font ,see below,
how to use same font for every file type ?
thanks!

I found answer here: https://www.emeditor.org/en/faq_view_view_different_fonts.html
Q. Different fonts are used when opening different files, or the font used for a new file is different. How can I always use the same font?
Select "Properties for All Configurations" on the "Tools" menu, select the "Display" page, click the "Font" button, and the "Customize Font" dialog box appears. Click the "Select All" button, and click the "Change" button in the "Display Font" box, and select the font you want to use.

Related

Show Assistant Editor missing in Xcode 11?

In Xcode 10, the toolbar had an inter-locking ring icon which showed the assistant editor, it's missing in Xcode 11.
In Xcode 10, the toolbar had an inter-locking ring icon which showed the assistant editor, it's missing in Xcode 11.
The interface has changed a little, but the functionality is still there. The top right corner of the editor pane has two buttons:
Clicking the left button, which looks like lines of text, displays the popup menu, where you can choose various editor configuration options. Clicking the right button just narrows the existing editor and adds another one next to it.
Some of the same options are also available in the Editor menu in the main menu bar.
Update: This is from the Xcode 11 beta release notes, and perhaps more fully explains why the UI was changed:
Editors can be added to any window without needing the Assistant Editor. Editors are added using the “Add Editor” button in the jump bar or the File > New > Editor command. Each editor can now be in one of three modes: “Editor Only”, “Editor and Assistant” or “Editor and Canvas”. The latter two modes automatically show relevant content when available. When using multiple editors, the View > Editor > Focus command can be used to temporarily expand the active editor to fill the entire window, hiding other editors. For source control support, the Code Review button in the Toolbar replaces the Comparison Editor. The “Show Authors” command is now available from the Source Editor’s Editor menu. The SCM Log is now in the Inspector Area. (43806898)
With multiple editors possible in a window, you need editor-specific controls for showing the ancillary views like the assistant editor, author view, etc.
From SMGreenfield's comment:
Sometimes I want to look at a different part of the same darn document. There has always been a way to do this, but it involved jumping through hoops.
Just add another editor: click the Add Editor button in the upper right corner of the editor, or choose File > New > Editor. The new editor will default to showing the same file you were working on in the existing editor.
If new editors show up on the right of the existing editor and you'd prefer them to stack vertically, you can choose View > Change Editor Orientation. If you want them to stack horizontally most of the time (the default) but just want one to show up below, choose File > New > Editor Below.
Shortcuts :
control + option + command + return : Show Assistant Editor
command + return : Show Editor only (hide Assistant Editor)
Using Editor on the Toolbar
It has moved, to show it click on icon with horizontal lines and select Assistant.
In Xcode 11 we now have multiple editor panes. You can summon a second pane, a third pane, as many as you like.
When you have a second pane, it does not have to be an automatic assistant. In other words, the editor pane itself either is an assistant or it is not. So if it is not, it is manual. And if it is, it is automatic.
To toggle between being an assistant and being an ordinary pane, choose Assistant from the Editor menu:
If Assistant is checked, this is an assistant and is automatic. What it displays depends automatically on some other pane.
If Assistant is unchecked, this is an ordinary editor pane and is manual. You can display anything you like in this editor.
In case you can't use Add Editor button just use shortcut:
Cmd + Ctrl + Shift + Enter
Turn Assistant on by navigating to the following in Xcode 11:-
Xcode > Editor > Assistant
For Xcode 11.2.1
command + option + return
or
Main Menu -> Editor -> Line View
it is worth noting, that you can also open the assistant editor by alt-clicking the file

uncomment and comment button in visual studio 2017

How can I show these buttons please? They are usually there in C# but not in R. I can use of course CTRL+E, U and CTRL+E, C. Thanks!
They are in the Text Editor toolbar.
View --> Toolbars --> Text Editor
Open Tools menu, select Customize. In the dialog that opens, select the Commands tab. Select Toolbar radio button and in the dropdown next to it select the toolbar you wish to add the buttons to. Or go to the Toolbars tab and create a new one, select it, then back to Commands tab and select the new toolbar.
Click on Add Command..., select the Edit category and then scroll through the long list of commands until you find "Selection Comment" and Selection Uncomment" and add them to your toolbar.
My new installs or updated versions of VS sometimes seems to not remember my personal preferences, so I've had this same question, as well. The default key commands work, but sometimes the new VS does not show the toolbars that include the comment/uncomment buttons for all the file types in which I want them to show.
To add the buttons, open a file you are not seeing the tabs for, click View => Toolbars, and make sure Text Editor is selected.
Or, right-click on some open tab space at the top of your VS screen, and click "Customize". The resulting window should show plenty of Toolbars in the Toolbars tab. Make sure the "Text Editor" is selected - that's where the comment/uncomment buttons reside.
This should be the case for Visual Studio 2015-2017
For those who are looking for comment and uncomment buttons in visual studio 2019, I am posting here...
You can do it in two ways
Right click on any free space in the Visual Studio toolbar, then select “Text Editor”. comment and uncomment buttons will appear.
Go to view -> toolsbar -> texteditor then you can see comment and uncomment buttons.

Add "Format Document" command to a toolbar, and searching for toolbar commands in general

On the "HTML Source Editing" toolbar in Visual Studio, there's a "Format Document" button. I want to add that button to another toolbar because I don't want to have the former toolbar visible. I can't find the command, though, in any of the command categories.
The command is accessible under the "Edit > Advanced" menu, and it's also shown by going to "Options > Environment > Keyboard" as being associated with the "Edit" category:
However, it's not in the "Edit" category (or any other that I've looked through) of the "Add Command" dialog:
I know you can invoke this with Ctrl + K, Ctrl + D, but I'd like to have it on my toolbar as well.
Where is this command? And is there an easy way to search for toolbar commands?
This command is called Document Format and resides in the Edit category for placement on a toolbar.

Where is the Word Wrap shortcut in Visual Studio 2010?

Where is the word-wrap icon to toggle back and forth in Visual Studio 2010? I want it in the toolbar or have a shortcut for it.
I see the option in the tools dialog box, but I switch back and forth constantly. I shouldn't have to dig through deep options to toggle this option on and off. Most editors have this option, but for some crazy reason, I can't find it in Visual Studio here...
Any help would be greatly appreciated. I can't find a solution online, and word wrap isn't even showing up in the program's help menu.
You can add the word wrap to any toolbar or menu via the Customize functionality in Visual Studio. You need to use the Edit > Toggle Word Wrap command. Here's how you can add it to a new toolbar.
Right-click the toolbar and click Customize in the menu.
In the Customize dialog click on the new button to create a new toolbar.
Give the toolbar a name and click OK.
Click on the Commands tab and click on the Toolbar radio button, then select the toolbar you just named.
Click on the Add Command button.
The Add Command dialog will appear and select the Edit selection in the Categories list box. Then select the Toggle Word Wrap command in the Commands List Box. Click OK to close the dialog.
In the default keyboard mapping scheme the Edit.ToggleWordWrap command has the shortcut Ctrl+E, Crtl+W predefined for the Text Editor.

Open Dialog preserving settings

How does one preserve the settings in the Open Dialog box? For example, I would the Open Dialog to remember that I chose the Details view and sorted by date modified.
Microsoft didn't see fit to give us any documented way of doing this, but some people have figured out bits of the puzzle. This link shows how to set the view, but not how to get the current setting:
http://msdn.microsoft.com/en-us/magazine/cc164009.aspx
I'm not quite sure about this about isn't it an OS setting. If the user choose their Folder Preferences such as then Windows will remember or not. In this case from accessibility and usability point of view this is User's preferences.
You could inherit from the dialog's class and then see what can be overriden to do the persistence of its state.
Simple non-technical solution.
This worked for me (WinXP SP3) in some cases but not all. Since you don't have the option of changing things in a common Open dialog, you can try to do it in Windows Explorer.
Open Windows Eplorer. If you want to change the sort order, go to the details view and click on the column to sort, normally Name, but you may want to sort by Date. Now change
the view back to whatever you want. Now select "Tools" then "Folder Options". On the General tab, for "Tasks" select "Use Windows classic folders," for "Browse folders" select "Open each folder in same window." Now click the "View" tab. Scroll down and check the box for "Remember each folders view settings." If it's already checked, uncheck it then check it again. Click the "Apply" Button at the botton of the window. Click the "Apply to All Folders" button near the top. These settings may show up in your Open dialog. Having done this you can now change the settings in Windows Explorer or any other Folder window that allows you to change them and that Folder window should remember them. This fixed the Open dialog in my qraphics editor but not in my video editor.

Resources