How to remove 'Channel JSON URL' from being permanently placed at the bottom of my sublime text editor.
After installing package control I noticed this pinned to the bottom of the sublime
From your image, it looks like you (accidentally?) selected the Remove Channel option from Package Control, and the box at the bottom is simply waiting for input from you as to which channel to remove. To get rid of it, just hit Esc.
Related
Why there are plus signs on the left side of my sublime text 3 text editor on every line? How to remove it?
You have probably installed the GitGutter package. It highlights additions to your code with a + symbol, removal with a - symbol and changes with a circle.
If you don't like this feature, you can either disable (or uninstall) the entire package or use the GitGutter: Disable for View command to disable the markers for the current document.
If you don't like the appearance of those markers, you can change the styles by running the Preferences: GitGutter Popup Stylesheet command and edit the styles.
I'm using Sublime Text 3 and somehow 2 additional panes popped up. I might have pressed some keys but I don't know which. I couldn't any help online and I've even tried re-installing sublime text 3. Nothing works.
I think you mistakenly adjusted the layout. It can sometimes be in the row (in your case), grid or column.
And for others who might run into this problem later on, here is the solution:
To fix this simply open your Sublime Text 3, go to the menu bar click "View" then "Layout" and click "Single" to have your default view back.
Note: This solution is for Sublime Text 3 (ST3).
While coding in Sublime Text 3 if I get to the bottom of the page and try to use the show_at_center command I won't get able to get the current line all the way up to the center of the page because there isn't enough new lines. So I have to manually hit enter a bunch of times to get the text to come back up. Is there a way around this? Like some sort of command that: moves the text to the center of the screen even if there is only blank space below and no newlines.
Open your user preferences (Preferences -> Settings-User) and add the following setting:
"scroll_past_end": true
This allows you to keep scrolling the view all the way down until the last line is at the very top of the window.
I've developed a shell (imitating the ubuntu terminal --> can only edit text after current prompt) by a PyQt QTextEdit.
The thing is when I select some text, the cursor moves as I'm selecting this text (so it disappers from the current command line) and I would like the cursor to stay where it is (only when I select text because I want it to move when I move it programmatically by textEdit.moveCursor(...)) at the same time I'm selecting the text.
Does anybody have any idea of how could I do that?
My solution for now, is to save the position at any change of it (except when it changes by a click), and when I copy some text en paste it, it'll be automatically pasted in the last position the cursor was before the click. That works perfectly but it's "ugly" for the user because, as I said, when he selects the text the cursor disappears of the current line and is where the user is selecting the text. Not like in ubuntu terminal.
Thanks in advance! And sorry for my english.
Adri
I don't see an easy solution to implement this with a text editor API. A terminal is a hack, basically. It mixes a read-only element (anything above the current prompt) with a text editor.
My approach would be to create two text editors, make one read only and display the results of all operations there. If you hide the borders of the two editors, then it will look like a single one. You may have to forward a bunch of events (like scrolling with the keyboard) to the read-only display.
Using LWUIT framework to develop mobile application.
In LWUIT by default first command is placed in the left and subsequent commands will be placed in the right menu of the form including the command which is already placed in form left.I need to add two menus to form.Left menu contains general application specific commands such as "Minimize","Back" and "Exit". Right Menu contains screen specific commands such as "Play Audio","Play Video" etc... Initially left softbutton of the form contains the text "Options" and the right softbutton of the form contains the text "Menu". When user selects "Options", a menu will be displayed with the following commands:
Minimize
Back
Exit
When user selects right soft button "Menu", a menu will be displayed with screen specific commands:
Play Audio
Play Video etc...
Commands of the right menu keeps changing from one form to another form, whereas the commands of left menu remains the same for all screens(forms). I know command menu can be customized by overriding "Form.createCommandList(Vector)" which returns a list. But here in my case I need two lists(menus). One at the left of the form and the other one at the right of the form.Please do help me in resolving this issue.
A LWUIT menu is just a dialog containing a List (or buttons for touch menu or pretty much anything you want), so to implement this just create a Command called options and place it in the left soft button. When options is pressed just show the dialog with your "additional commands". Since a List can accept a command array or vector doing something like this can be really easy.
You can look at the code for MenuBar which is pretty simple, you can also replace the menu bar component in the latest version LWUIT (SVN at the moment) but that seems redundant for this particular use case.