Quantcast
Channel: Active questions tagged text-editor - Stack Overflow
Browsing latest articles
Browse All 245 View Live

SwiftUI TextEditor how Hide Keyboard

I have à problem with TextEditor, I cannot hide the Keyboard after editing my text on the Texteditor. @State var monTexte: String = "var body: some View { VStack { Spacer() .frame(height :15)...

View Article


Replace capital letter with same letter but curly brackets surrounding the...

How can I easily (Word, Notepad++, Wordpad etc.) replace the capital letter in words with the same letter surrounded by curly brackets? I'm editing a jabref LaTeX file where this has to be done to...

View Article


Find keyword to limit within a method/function only not the whole file with...

Good day,I am using sublime text editor, is there a way to find a keyword within a specific function/method only?for example, in my controller User.php, there are multiple functions inside it, now I...

View Article

Find and replace within a selection in Sublime Text 3

I've read this question indicating how to find and replace within a selection in Sublime Text 2. Despite reading this thread, is it possible to do a simple find and replace within the selection in...

View Article

Python:prompt_toolkit TextArea.buffer.cursor_position += 4 setting to 4...

I am trying to make a text editor with prompt_toolkit.While implementing tab indentation, I came across this weird behavior: def keybinds(self): kb = KeyBindings() @kb.add("tab") def _(event): if...

View Article


How can I create a draggable, auto-sizing speech bubble with an in-place...

My comic book editor app in SwiftUI has a user-manageable speech bubble. I want to create a BubbleView that a user can drag freely on a canvas.Dynamic sizing: The bubble's frame must automatically...

View Article

How to disable pasting image/video in ngx-quill in agular 5

I am using quill editor, its working fine but the problem is that when pasting text which include images, its also pasted it in textarea which i dont want.how could I disable it?I tried format option...

View Article

Delete till end of current parenthesis block in vim

Say I am editing this json{"a": {"language": "python"},"b": {},"c": {"language": "java"},"d": {"encoding": "utf-16"}}My cursor is at b of "b": {}. I want to delete till the end of current {} block. So...

View Article


Tiptap custom markInputRule removes closing bracket from match

I’m trying to create a custom mark in Tiptap v3 that highlights tags written like value inside inline text.Here’s my current extension:import { Mark, mergeAttributes, markInputRule } from...

View Article


View TextEditorField as html in detail modal in easyadmin

I use EasyAdmin to manage the back office of my site created with Symfony 5.One of my entities has a TextEditorField type field that I use with CKEditorType for forms. In the forms no problem I can do...

View Article

Undo with GTK TextView

I'm trying to keep dependencies to a minimum for a program I contribute to, it's a small text editor.GTK Textview doesn't seem to come with a built-in undo function. Is there any reference...

View Article

How to add .tsx support in Geany editor?

I installed Geany for coding, and I want to add syntax highlight for TypeScript filesI already added #TypeScript=*.ts;*.tsx; to filetype_extensions.conf, and restarted it a few times, but it's not...

View Article

When using this with and redirect back to the page after successful operation...

I Am using ckeditor 5 and here is my configuration. which is working good when i first load the page but i click on the submit button and server redirect me on same page this is no longer working...

View Article


Delete inner word in helix editor

I am used to using diw in vim to delete a word when the curser is in the middle of the word.How can I do the same in helix editor?

View Article

Remove auto-completion with Enter key in Kate text editor

In Kate text editor, one can auto complete using either the Tab or the Enter key.I find auto-completion with the Enter key disruptive, because often you really do mean what you say, and want to go to a...

View Article


How to Save before Exit Java

I've searched similar threads but I can't seem the find the solution that fits. (I'm new to java)I have made an texteditor and i need to make the option to save before exit. A possible window that pops...

View Article

How to Enable "Copy on Selection" in Visual Studio Code?

I'm looking to improve my workflow in Visual Studio Code by enabling the "Copy on Selection" feature. This feature would automatically copy any text I select to the clipboard without requiring an...

View Article


textarea with a few editing options

I need a simple text editor on my site, just with the following options:- ordered and unordered lists- heading or bold characters- horizontal rule Is there any way to get the above by coding, inside an...

View Article

How to call VS Code Editor from terminal / command line

The question says it all.How can I open VS Code editor fromwindows cmdlinux and mac terminale.g. for notepad++ I write> start notepad++ test.txtBy the way, the editor is awesome (cross-platform)!...

View Article

Show .rtf files in VSCode / VSCodium with proper font and style characteristics

I'm using VSCodium and I typically keep project notes in .rtf files, where I can use different fonts (such as courier for code snippets) and bold or occasional coloured highlights for emphasis.I need...

View Article

Image may be NSFW.
Clik here to view.

Move Line Up/Down shortcut in Visual Studio

In Visual Studio 2010, I had a shortcut set up, Alt+Up/Down, to move lines of code up or down, just like I used to have in Eclipse in my Java days.Now, since Power Tools and macros (which is how I set...

View Article


Text editor to open big (giant, huge, large) text files [closed]

I mean 100+ MB big; such text files can push the envelope of editors.I need to look through a large XML file, but cannot if the editor is buggy.Any suggestions?

View Article


Is there an autosave function/plugin for Notepad++?

After an unplanned system restart, all of my Notepad++ temp (and unsaved) tabs are gone.How can I avoid this in future?I don't want to have to save explicitly every single temp file with a file name.Is...

View Article

How I can display and edit large number of texts in Flutter

I am developing a application that can edit large number of text in flutter, but when the number of texts is large enough then the application is crashed.I am wondering that are there any solution for...

View Article

Image may be NSFW.
Clik here to view.

How to Change Highlight Color of Opening and Closing Parentheses/Curly Braces...

I want to change the automatic highlight color of opening and closing parentheses/curly braces in Android Studio. The images below show the automatic highlighting that starts when you click on either...

View Article


Can I go back to the mode were I can switch between parameters of a function...

I use this feature in java development in VS Code:When I select a function from the autocomplete dropdown like function(parameter1, parameter2) , immediately parameter1 is selected, and I can go back...

View Article

Pygments syntax highlighter in Python Tkinter text widget

I have been trying to incorporate syntax highlighting with the Tkinter text widget. However, using the code found on this post, I cannot get it to work. There are no errors, but the text is not...

View Article

How to use custom syntax highlighting in AvaloniaEdit?

I'm trying to use https://github.com/AvaloniaUI/AvaloniaEdit.It works fine, but I can't get my custom syntax highlighting to work.What functions do I need to use? Which files?I have all the syntax...

View Article

How do I disable VS Code of updating itself?

I updated my VS Code this morning and at night it already wants to install new updates. As it seems, VS Code update files arrive very frequently and it forces me to install updates (it makes you close...

View Article



Repository pattern for text editor

I am building an Vim based text editor with panes. I have build quite a lot of an editor with layered like architecture. Should I rewrite into a central repository pattern? It would make it easier to...

View Article
Browsing latest articles
Browse All 245 View Live


Latest Images