jupyter notebook backspace does not delete highlighted text [closed] - jupyter-notebook

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
When I write text or code, I frequently delete things by highlighting the to-be-deleted text and pressing backspace. Since recently, this does not work anymore in jupyter notebooks on my computer (Kubuntu 19.10). Only jupyter notebooks are affected. I can use the highlight-backspace combination in any other software, including other chrome browser tabs. Highlighting and replacing with other text works in jupyter, as does deleting with the delete key.
How can I restore the highlight-backspace = delete behavior?
Edit: Simple backspace is not assigned to a keyboard shortcut, as seen in the screenshot below. Backspace also works for deleting the character before the cursor if nothing is highlighted. It just does not delete highlighted text.
Edit2: I have narrowed down the problem a bit more. Deleting with backspace works if I mark the to-be-deleted text from right to left (with the mouse of by shift-left arrow). If I highlight the text from left to right, or by double-clicking on a word, then backspace does not delete the text. The behavior is the same in chrome and firefox, and only in jupyter.

This may be a long shot but I was experiencing a similar issue with Jupyter Notebooks on Ubuntu 18 running in Chrome. The issue seems to have been some strange interaction with the Google Input Tools which comes with Chrome. Disabling the extension seems to have fixed it for me.

Turning off Google Input Tools worked for me. No need to disable the extension. It has the option "Turn off".

First of all, make sure other backspace combination works fine e.g. ctrl+backspace. then check at another browser like firefox to make sure there isn't any problem with the chrome or Jupyter hotkeys.
After checking these things make sure insert mode is not activated too, here is a question about it.
If none of the above ways work try restarting the Jupyter hotkeys.
If still, you have the problem, re-install Jupyter.
sadly if it remain unsolved your OS occured the problem not the Jupyter.

Disable the Google Input Tools extension and the magic will happen..

Related

Accessibility-Tweak in LibreOffice: How to prevent accidentally selected text from getting replaced when typing?

I'm trying to make my 97 years old grandma's laptop(Ubuntu 20.04) more accessible for her. She often is frustrated because text that she has written in LibreOffice Writer vanishes. Disabling the touchpad and using an external mouse already helped a lot. But I suspect that she still accidentally selects text, when she tries to place the text cursor with her mouse(by dragging or double-clicking). When she continues typing the selected text is being overwritten. Because she needs to focus on the keyboard while typing she won't notice immediately what happened – making it difficult to "Undo".
Would it be possible to disable this behavior in LibreOffice Writer so that selected text would be deselected instead of replaced, when typing?
If changing the behavior is not possible, can I disable text selection via mouse in general?
Thanks for any technical hints or other ideas on how to address this! Possible answers might involve hidden LibreOffice settings/workarounds or instructions on how solve this via custom script/extension.
Note: To narrow this down this question is about how to solve this problem in LibreOffice Writer specifically. I also asked this question for Thunderbird's message compose window and as a question on askubuntu.com for a system-wide solution.

I am un-able to type in any text field on my website. Nor can any users [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I have no idea how or why this is happening, but all text fields on my website can not be typed in.
I seem to have bad luck when asking questions here so I would ask you just go to https://contest.faucetastic.fun and attempt to login. Any info/guesses or direction on this issue would be much appreciated as I legit have not the foggiest.
I've looked through possible settings as to why this is happening, but I just don't have the experience to find out what happened.
I've been wondering why I've had no sign-ups with all the ads I've ran
UPDATE:
So while I'm in my admin panel and on theme customizer I noticed I was logged in on my site itself, I clicked log out and it took me to the admin log in screen for WP. Then went back to my theme customizer and was logged in again. I clicked log out once again but this time my screen went white and did not recover.
I'm sorry that not so experienced to give more deffinate descriptions, but I'm in a serious bind here so I truly do appreciate the help.
I set the color of the text to black.. and it showed. your css has the color of the text in the input elements set to white or matches the box ..
I would put
input[type='text']{ color: black; }
in style.css
or in the js
$( "form input:text" ).css({
color: "black",
});
Alright, after some very frugal and stunning efforts from WPMU Dev. It was established that the NES Emulator Known as Retro Game Emulator has several flaws, one of which locks up all text fields on a site.
The amazing folks at WPMU Dev even went as far as reaching out to him to see if he was either aware or cared about the fault. As it turns out, He really doesn't seem to give two s**** about.
-=- And to the user that mentioned the miner. I removed that Long before your comment which concerns me. I will head there now and run a few tests
<>TID BIT TO ADD<> + <>NEW QUESTION<>
If any of you have used the nesbox before, you already know that its both A: Amazing, but B: missing some U.I components.
Now, From the back end of the retro game emulator, you can easily upload files directly into it with a drop down tab. Then on the front end, users drop the same menu, but instead it displays the games uploaded that can be played.
So my continued question now is, would it be possible to add that feature to the nesbox to make it both easier for wordpress webmasters to install, and give higher functionality to front end users.
I know this may intale a long answer, so, this is just for thought :)
should you have an explosive thought tho. please write er down ;)
<>I WILL START A NEW THREAD SOON FOR THIS<>
Just gonna jump to tic80 and talk to nesbox man
-Thanks

Browser as a Design Tool - Change colors, Save Them? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm a web developer/designer, and I need my code-illiterate clients to be able to easily mess with the colors of particular elements, save these CSS changes, and send them to me. I'll be guiding them over the phone, but I still need it to be easier than expecting them to locate CSS selectors in a theme sheet, and write hex codes.
I need an in-browser inspector that can allow a code-illiterate individual to:
Easily manipulate colors on a web page's elements, with a GUI color-picker.
(+) Chrome does this perfectly. It's exactly what I want.
(-) Firefox's otherwise gorgeous inspector seems not to have this basic capability.
Save the affected stylesheet, so they can send it to me.
(?) Firefox's Style Editor makes saving sheets easy, however changes to inspected elements - strangely - do not seem to be applied.
(-) Chrome may supposedly be able to do this, deep within the Sources panel, but it seems you need to be a hacker to figure it out, because I'm the code-literate one, and I haven't yet figured it out.
I find the existence of this conundrum very baffling -- why have browser vendors bothered making such a rich web-page editing suite, where one can manipulate CSS, but not include a basic "save changes" feature? Am I missing something?
Edit 01:
I have found, in Chrome, that one can freely manipulate an element's CSS with the inspector, then click on the CSS sheet associated with each rule (in the top-right corner of the rule) to take you to the Modified CSS Sheet in the Sources tab. This is what I want to save.
From here, one can right-click anywhere in this modified source code, and then Save-As -- but strangely, unfortunately, and unintuitively, Chrome saves the wrong source code. It saves the original, unmodified source code -- not the modified source code you had right-click save-as'd. Very frustrating, and I'm currently trying to find a way around this bug. I'm so close!
Edit 02:
Okay, I've figured it out. When you save a file in Chrome's Sources tab, you're not just saving that file -- you're actually setting Chrome to constantly auto-save that file upon every change you make to it.
This is actually kind of cool, but very misleading.
So, after you save a CSS file, Every change you make to an element's CSS in the inspector, will auto-save to that file. This persists even if you restart the browser.
Confusion arose, because when you have a file marked for auto-saving, and you then Save-As a modified file, Chrome weirdly writes the original file, not the one you right-clicked. As soon as you make any change after that, when Chrome will auto-write every current modification to that file. I regard this to be a bug in Chrome.
Lesson be learned, First, Save-As the file. Second, make your changes.
Presto, your modified CSS theme awaits you on your hard disk.
To be clear, if you Save, then make changes, then save again -- Chrome will have saved the Original Source, not your Modified Source. This makes the order of things important.
I do not know of a way to see a list of files currently marked for auto-saving, or how to unmark them.
How to use Chrome to play with CSS and Save it
Determine which Stylesheet you will make changes to. Be sure to only affect rules associated with this stylesheet.
Navigate to this stylesheet in the Sources panel of the Developer Tools, Right-click it, and Save-As this file to your computer. You can get to a stylesheet in the Sources panel quickly by clicking the stylesheet at the top-right of each CSS rule for a selected element in the Elements panel.
Freely make changes to CSS Rules associated with your chosen-and-saved stylesheet. Chrome will automatically save each change to the stylesheet you saved on your computer.
Keep in mind, however, that you must do things in this order. If you save the stylesheet, then make your CSS changes, then save again, Chrome will oddly write the original unmodified source to file (until you make one more change, which causes Chrome to auto-save all changes to file).
How to use this with your clients and friends
Set up a theme stylesheet with blank (or default-ish) CSS rules (that have top precedence) for every element you intend to let them play with.
Over the phone, guide them to Save-As this theme stylesheet from within the Sources panel.
Guide them in inspecting elements, and using the the Chrome inspector's GUI color-picker to meddle around and find the exact colors they want.
Have them send you the saved stylesheet :)
It's a good idea for you to verify that the modifications are in the file they sent you, before they close their browser window :P
i use this Chrome extension to save the files i modify directly in Chrome DevTools.
Seems hard to configure it, but it does his job. Plus i think it's a must-have for web-developers/designers.
Maybe with some tweak you can make it do what your trying to do.
Sitemod.io allows you to use Chrome Developer Tools to edit any HTML, CSS or JS code on any live or local web page. After you finished working, you can save the edits and get a unique URL to the modified version so you can share your mod with your clients.
Here is an example that illustrates how the above can be done.
I'm one of the developers of this tool so please feel free to ask me anything 🤓

Aptana editor freezes in linux

I have a problem with my Aptana dist. (version 3). When editing HTML, CSS, javascript, and whatnot, it freezes after a short while. I wander what could cause such strange behavior. To unfreeze it, I would have to click on window > Preferences (open the preferences dialog) and then close it. On clicking the editor, it opens. Has anyone had this problem and if so, how can I solve it???
I had the same problem once. Might have caused by the autocomplete feature. Try reinstalling using the NEWEST version of Apatana 3. I think they have already improved their text filtering feature.

Is there use for the Scroll Lock button anymore? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
The scroll lock button seems to be a reminder of the good old green terminal days. Does anyone still use it? Should the 101 button keyboard become the 100 button keyboard?
In Excel, if you turn on scroll lock, using the arrow keys scrolls the spread sheet instead of changing the cell the cursor is in.
I use it all the time on Unix terminals. It is quite handy when something catches my eye when I'm tailing a log file.
In many KVM situations, double-hitting scroll lock with bring up the machine selection screen.
Microsoft Excel uses Scroll Lock to allow you to scroll the spreadsheet around with the arrow keys without changing the active/selected cell -- in line with the Scroll Lock key's original intent.
In Microsoft Excel, Scroll Lock allows you to scroll a spreadsheet with the arrow keys without moving the active cell pointer from the currently highlighted cell. In Quattro Pro, another spreadsheet program, Scroll Lock works in a similar manner, although in contrast to Excel it's not possible to scroll the active cell pointer completely off the screen.
Other programs use Scroll Lock for special functions.
Scroll lock (at least the LED for it, anyways) is used along with the caps lock and num lock LED's to provide diagnostic error codes when troubleshooting hardware issues on Dell laptops. This is quite useful when troubleshooting display problems that might prevent diagnostic messages from being read off the screen.
It looks mostly dead:
http://en.wikipedia.org/wiki/Scroll_lock
I don't remember the last time I used it...
If you happen to have some legacy MS-DOS games around, it might be useful ;-)
One of the visualization plugins for Winamp (A media player) uses scroll lock to prevent the visualization from rotating visualizations every x seconds
In Synergy you can lock your mouse to the current screen. Very helpful when you want to share a mouse with a PC on the other side of the room.
Well, that's yet another key to be used with AutoHotkey... (or other keyboard shortcut managers).
Since it is connected to the LED, some clever folks have added code to make it flash (e.g. scroll lock on/off/on/off) at a given interval as a notification for new email messages (or similar)
This can be "cool" if you have a laptop, that is closed (or the screen is sleeping)... you just see if the light is blinking.
I use it all the time, with the purpose for which it was made. For a variety of things.

Resources