Questions tagged [editor]

This tag is for questions about the features and functionality of text editors, source code editors and other programs specifically designed for modifying plain text files used in computer programming. Questions asking us to recommend or find an editor are strictly off-topic.

Filter by
Sorted by
Tagged with
0 votes
1 answer
4 views

Finding matching parentheses in a large JS file

I have a ~17MB obfuscated JavaScript bundle I want to analyze. I want to find out which parenthesis ends an expression that begins right at the start of the file. I suspect that the expression spans ...
Tau's user avatar
  • 543
0 votes
0 answers
11 views

Visual Studio: Disable quote wrapping text selection

When I select a block of text, I and I type a " or a < sign etc. I would like it to simply replace that selected text with the key I press, rather than the new behavior of wrapping the ...
Joe's user avatar
  • 2,008
-1 votes
2 answers
52 views

Lua: Convert spaces at the beginning of each line to tabs [closed]

I'm making a code editor in a game engine powered by Lua. Its menu system has the unfortunate limitation that tab characters aren't supported in fields, each tab gets converted to a space. I wish to ...
MirceaKitsune's user avatar
0 votes
0 answers
38 views

Duplicating Text In Console? (C#)

So. I was trying for 4 hours to make a decently good copy of neovim written in C# and designed for Windows, which somewhat worked. However, the scrolling functionality has been giving me some issues. ...
Storm's user avatar
  • 1
-1 votes
0 answers
8 views

I need help working with the Windows registry editor [closed]

I am writing code in Python IDE Pycharm, in a nutshell, a program for system administration. The administrator has all possible buttons available, the user has three by default. Login under the admin ...
Анатолий Долин's user avatar
0 votes
0 answers
22 views

What are the ways a default export can be given an implicit name?

Default exports don't have an enforced name but an unnamed default export, export default 'foo'; can be named implicitly like so: const Foo = 'foo'; export default Foo; Named functions are also ...
Arnaldur's user avatar
1 vote
0 answers
22 views

Lexical editor: Can't capture the image node and data when dragging an image into the editor

If I drag an image from my local disk into the Lexical editor, the onDrop function can't capture the dragged image node and data. Is is a bug? If the imaged was dragged into the editor and then you ...
Nicerday's user avatar
1 vote
0 answers
8 views

vega editor - the project doesn't start

I ran into a problem. Cloned the project https://github.com/vega/editor When building, it cannot find files in the public folder. Can anyone tell me what should be in the files public/spec/vega/index....
Sergey F's user avatar
0 votes
0 answers
8 views

Is there way to create document editor in react js for data coming in byte array octate form [closed]

I am trying to Open PDF file from back-end response as byte array and add electronic signature or modify content add text inside the Pdf using react js. Can anyone suggest some customisation technique ...
Mr Vinsmoke's user avatar
-1 votes
0 answers
38 views

How to emulate multiline text editing in bash? [closed]

I want to write a program in python, which does multiline text editing in terminal, like nano. But I don't want to switch to an alternate buffer. The editing window should appear just below the ...
Sourav Kannantha B's user avatar
0 votes
0 answers
10 views

How to get access to IntelliSense variable Data Type?

i'm trying to write a VISX extension for VS2022, which colors variables based on their Data Type, currently i'm stuck at the point where i try to get the Data type of a variable which is available to ...
Domi8893's user avatar
0 votes
0 answers
14 views

Random yellow blocks in text file after reloading & discarding it

I was making notes using the Ubuntu 23.04 Text Editor and had it opened in 2 tabs. I made changes in one tab and saved it and when I opened original tab, I was told "changes had been made... ...
user21819272's user avatar
0 votes
2 answers
58 views

Filter content in WordPress classic and block editor to load content from custom field

This one has got me stumped. I am offloading my wp_posts > post_content data to a custom field called post_content. See class at end of question to see how I am doing this. And I am trying to ...
joshmoto's user avatar
  • 4,623
1 vote
0 answers
23 views

Neovim scroll option not persisting from config

I'd like to permanently set the scroll option in my Neovim config to a set value, but the option doesn't persist when I set it in my init.lua file. ~/.config/nvim/init.lua: vim.o.scroll = 20 The docs ...
Bdeering's user avatar
  • 340
-1 votes
0 answers
11 views

How to force sublime to always auto match brackets

I recently started using sublime and it is bugging me that it is not always matching the brackets. For example, if you want to write ( between two dollar signs, then you only get the left parenthesis. ...
TawnyPeach04's user avatar
0 votes
0 answers
19 views

Quill custom html

Quill Inline Block let Inline = Quill.import('blots/inline'); class SpellingBlot extends Inline { public static blotName = 'spelling'; public static className = 'spelling'; public static tagName ...
huseyinaltun's user avatar
0 votes
0 answers
9 views

Webex Macro Editor have \ in front of ' by javascript

I want to send an request with an URL with '. And it always had \ in front of the '. Thus, the format will be wrong. Does anyone know how to fix it? For example, console.log("'") It will ...
Sunny Chuang's user avatar
0 votes
1 answer
25 views

Mirroring two editor instances in Lexical.js

Does anyone have an example to reflect the updates in an editor instance to another instance? The docs for Lexical.js are very poor.
jerome courtois's user avatar
0 votes
0 answers
44 views

Automatically insert import statement when pasting class name copied from its definition

I use Eclipse IDE for Enterprise Java and Web Developers (includes Incubating components), version: 2023-03 (4.27.0) Build id: 20230309-1520. Suppose I have two files in the project: This.java and ...
David Balažic's user avatar
0 votes
0 answers
24 views

When a new line is started, VSCode only inserts indentations when the Enter is pressed just after the operators or parentheses

I am using the vscode for R programming now. Recently, I noticed that the auto-indentation only works when you press Enter just after an operator such as +-*/ or the parentheses and brackets. For ...
Miles N.'s user avatar
  • 187
0 votes
0 answers
12 views

How to control tinyMCE convertor?

I am currently using @tinymce/tinymce-vue: ^4.0.7(v5.1.1). tinymce core version is v5. I want to set data tiny-mce. 1. we dont need br tag on first line and last line. The data was set as follows <...
Make a Smile's user avatar
0 votes
0 answers
17 views

React Wysiwyg editor actions stop working with umi js (React v17)

I have been working with react-draft-wysiwyg in umi js framework alongside React version 17. The problem I am facing is some of the actions are not working like in my case font size(dropdown), font ...
Muhammad Umais Hassan's user avatar
1 vote
0 answers
14 views

Prosemirror Editor DOMParser Issue

I have tried to parse the below HTML string using prosemirror Editor DOMParser const initialValue = '<p><span style="font-size:36px;"><span style="color:#00ff22;">...
Abishek's user avatar
  • 57
0 votes
0 answers
25 views

One tinymce editor with content split into multiple parts

I am looking for a way to "split" tinymce content into multiple pieces. I don't exactly know how to explain it as it could be the reason why I have found nothing about my precise problem on ...
MRC's user avatar
  • 1
0 votes
0 answers
15 views

Where can I start the wysiwyg html editor in tinymce to edit an existing html file?

I just want to edit some html files that I already have, using the tinymce wysiwyg html editor please. I have created a free tinymce account, but have absolutely no idea where to find this editor on ...
cainss21's user avatar
0 votes
0 answers
23 views

Unwanted extra frame during stacked sprite render

I built a stacked sprite using the Sprite2D node made of 9 slices of a car. When I rotate the sprite, there is one extra default layer that remains unrotated and sticks out like a sore thumb. My code ...
Lucca Tarleton's user avatar
0 votes
0 answers
43 views

Wordpress Elementor Plugin Development JavaScript not working in Editor Mode

I'm tryin' to add custom controls to Elementor Editor. And i want to have a notice which could be closed with jquery. This is a plugin.php code. <?php use Elementor\Controls_Manager; defined( '...
Philipp Petrov's user avatar
0 votes
0 answers
6 views

How do I edit what apple mail shows as email summary in my script?

First off, I'm a bad coder, and a mediocre engineer, so excuse my dumb questions. Also this is sort of fringe stuff so not sure anyone would know the answers anyways. I wrote this script years ago to ...
chuckbarry's user avatar
0 votes
0 answers
148 views

Value in Tiptap-Editor does not change when using a reusable tiptap-react-component

I have made an app where I use a reusable component. In this component I am rendering the TipTap-Editor. In this app you can toggle between the two reusable components and they get other values as ...
js_alex's user avatar
0 votes
1 answer
28 views

How to toggle off document.execCommand("superscript") back to normal text

I am working on a custom text editor using a contenteditable div with basic formatting functionalities. I am using the command document.execCommand("superscript", false, undefined); to do ...
Abiola Aribisala's user avatar
0 votes
1 answer
13 views

Issue with rendering a4 size page in mobile screen

I'm developing an editor in react js which contain a4 size editable pages working good in laptops but in case of mobile screens getting horizontal screen not able to detect how to resolve that. html ...
Rohit Garg's user avatar
1 vote
1 answer
158 views

Taking arguments in Godot 4 editor with @tool

I am trying to pass an argument from the editor to my script using @tool and @export. My code is running properly, but I am unable to set the boolean as 'on' or 'off' in the editor. @tool extends ...
Lucca Tarleton's user avatar
0 votes
0 answers
25 views

Support for "hideUnchangedRegions" in monaco Editor

As the support for hideUnchangedRegions is added for vs code editor and being used, Is this supported in monaco editor. i tried setting this up here Playground link Any help would be suggested, The ...
Hitendra Rathore's user avatar
0 votes
1 answer
28 views

How to make Dart files break one line per parameter in VsCode?

I am learning Flutter/Dart, and in the video series I am following, there is only one parameter per line, as follows: body: Container( width: double.infinity, height: double.infinity, ...
user1576978's user avatar
  • 1,765
0 votes
2 answers
195 views

Data from database does not persist in tiptap editor content

update From some some suggestions I received on this question, I've now found that either setting my recipe.ingredients to local storage or using setContent with useEffect as shown below does set a ...
Lee's user avatar
  • 31
0 votes
1 answer
32 views

Find widget in Jupyter Notebook in VS Code gives inconsistent, high number of results

I'm editing a Jupyter Notebook in visual studio code. I want to find every occurrence of "s11" in my code using ctrl + f. There should only be a handful of occurrences (maybe 5). But the ...
Bojan Milinic's user avatar
0 votes
0 answers
83 views

Building an Online React Code Compiler with Database Integration for CRUD Operations

First Three point is my project overview what I want to do and 4th one is my problem. Introduction: I am looking to develop an online React code compiler that not only allows users to write and ...
bilal ahmed's user avatar
0 votes
1 answer
74 views

How to create the text editor like slack message editor

Now, I work on angular project. I am going to create a chat app with message editor like the message editor of slack app. But I cannot find any resource and reference data. If you know the resource ...
Vajilo Toram's user avatar
1 vote
1 answer
159 views

Can we use wysiwyg editor with antd form?

I have to use react-draft-wysiwyg which is an editor and previously I was handling it via react states. Now, I was thinking if there is a way to use it with antd form. Here is my code, import { Editor ...
Muhammad Umais Hassan's user avatar
0 votes
0 answers
40 views

WebStorm "cannot find declaration to go to" for ID in HTML

In JetBrains WebStorm 2023.2.2, navigating to style declarations for classes works well with Ctrl-click, however for ids it does not work. Example: <!DOCTYPE html> <html lang="en"&...
jake n's user avatar
  • 371
1 vote
2 answers
42 views

How does the remove property of the SpannableStringBuilder class really work? TextEditor in Android (Kotlin)

I'm developing a small native Android project using Kotlin. I intend to create a small text editor with the various buttons bold, italic, underline and so on. Unfortunately I've been really trying for ...
Fantastico's user avatar
0 votes
1 answer
64 views

Disable options to move/reorder panels in WP Classic Editor

I have a client that keeps dragging the editor panels out of order (sometimes while also collapsing them) and even if I keep rearranging them for her, she keeps complaining that "Wordpress is ...
Alexandru Alexe's user avatar
0 votes
0 answers
78 views

How correctly integrate angular-froala-wysiwyg and codemirror v5 to edit code?

I want edit a source code (javascript, json, etc.) in angular-froala-wysiwyg. So following step by step documentation https://froala.com/wysiwyg-editor/examples/code-mirror/, i have installed ...
Ilyas Arts's user avatar
4 votes
0 answers
132 views

Unusable colors in Delphi 11.3 live code templates

I have recently upgraded to Delphi 11.3, and working out the wrinkles. One problem I have is with the live code templates that Delphi shows as you type. I usually leave this enabled as it can be ...
gwideman's user avatar
  • 2,837
1 vote
1 answer
104 views

Delphi editor shift-tab unindent not working for single lines

In Delphi 11.3 IDE code editor, if I select two or more lines, I can use Tab to indent them all jointly, or Shift-Tab to unindent them. However, if I just place the cursor before a single line, then ...
gwideman's user avatar
  • 2,837
2 votes
1 answer
28 views

Running a custom hook after fixing a function

Using Dyalog APL 16, is it possible to define a function which is called directly after a function is fixed (with Ctrl+Down)?
August Karlstrom's user avatar
2 votes
2 answers
136 views

Clone buffer function in Neovim

I have been trying to create a Lua function that allows me to clone a Neovim buffer. Here is what I have in my init.lua file: -- Set max optimum columns vim.opt.colorcolumn = "80" -- ...
pbj's user avatar
  • 23
0 votes
0 answers
36 views

the active editor cannot provide timeline information

I tried to open files and folders on my vscode but all I see on the explorer is 'the active editor cannot provide timeline information'
Ikong Jessi's user avatar
0 votes
1 answer
108 views

Changing values in hex-editor properly

I want to change a file (.ULNC) and successfully did so in the past when the decoded texts i change have the same length or when the value I want to replace is bigger then the one i want to replace it ...
Vendaar's user avatar
0 votes
0 answers
180 views

Adding trailing stop-loss to tradingview strategy in pine editor

How can I add trailing stop loss to this code below? //@version=4 strategy("1 min scalping", overlay=true) // Stochastic Conditions with 5, 3, 3 parameters for scalping stochK = sma(stoch(...
BunHead's user avatar

1
2 3 4 5
124