Questions tagged [text-editor]

A text editor is a type of program used for editing plain text files.

Filter by
Sorted by
Tagged with
-3
votes
0answers
32 views

I need to modify my phonebook application in C. Please show me the way. Thank you [closed]

I hope I am doing this right, I am a beginner in C and I am having trouble to figure out how to modify an entry. I am doing a phonebook application that will write and record into a text. file. I have ...
1
vote
0answers
18 views

how to efficiently draw line numbers in edittext ondraw without causing lag in scrolling

I have an implementation of an edit text to show line numbers and also highlight the current line. I think it needs more optimization because when I scroll through the edit text with about 500 lines ...
1
vote
0answers
46 views

Javascript Online Notebook

I use an online, simplified notebook. I'm able to add notes, delete notes, and edit existing notes. I find the code to be pretty unattractive and is heavily repeated. When I built this, I borrowed ...
7
votes
1answer
477 views

Using TinyMCE with responsive file manager PHP and Javascript

I use TinyMCE with responsivefilemanager and I wanted to know that is my code well-written maintainable and readable, Sorry If this sounds like a stupid and basic question because this is such a basic ...
2
votes
1answer
48 views

Python Command Line text editor

I want to make a command-line text editor in python. Is this good code? ...
1
vote
2answers
88 views

Editing system files in Linux (as root) with GUI and CLI text editors #2 (final)

This is the second iteration of this question A note to start with: the first iteration of this question can be found here: Editing system files in Linux (as root) with GUI and CLI text editors As ...
-1
votes
1answer
66 views

any performance suggestions? [closed]

I have a basic python file editor/executor(still working on it) but I get know that this does not have the best performance so are there any sugestions about how to up the performance of this code: <...
10
votes
2answers
2k views

Call a text-editor from within a Python script to get user input

Motivation I'd like to know how integrate the use of text editors (e.g. emacs, vim, etc.) into command-line Python programs. Features I'd like to be able to do the following: Call a text editor ...
2
votes
1answer
96 views

Editing system files in Linux (as root) with GUI and CLI text editors

My intention is to POSIX-ly write one generalized function for running various text editors I use for different purposes through sudoedit, i.e. editing files as ...
8
votes
1answer
1k views

Simple console text editor

I have been following along Gary Bernhardt's excellent video series on "Building a Text Editor From Scratch". It's in Ruby but I wanted to do it in C# just to see how much it differs. Implementation ...
4
votes
1answer
89 views

AutoSuggest: Better way to implement focus after inserting a snippet

Introduction: I am working on a javascript plugin AutoSuggest, My aim is to create an IDE like autocomplete experience in web applications using JavaScript. One of the features I have implemented is ...
1
vote
1answer
695 views

Command pattern for simple text editor

I was asked to code a TextPad with following functionality: display() – to display the entire content display(n, m) – to ...
22
votes
3answers
2k views

HTML Editor: online HTML editor with real-time preview

HTML Editor is an online HTML editor with a minimalist approach. Edit your HTML, CSS, and JavaScript code and monitor the instant live preview. Please review the source code and provide feedback: <...
5
votes
2answers
861 views

Basic Text Editor

Below code produces a basic text editor that I have written using tkinter with python. I tried to be as well structured as I can but in some parts I have been lazy about it. Classes that are used: <...
7
votes
1answer
2k views

A little Python hex editor

First off I'm quite new to Python, there will be a lot of messy/overcomplicated code, that's why I'm posting on this site. This code is written in Python (2.7) using the Tkinter library. Questions To ...
2
votes
0answers
67 views

Markdown Previewer app done in ReactJS

What do you think of my markdown previewer, which uses the marked library? I'm asking because I'm new to React. And also what do you think of app itself? Did I use React correctly and properly? HTML: ...
7
votes
3answers
22k views

Simple text editor class

I have recently undertaken a project for programming practice based on a simple text editor. Normally this kind of thing wouldn't bother me, but ever since I completed a software architectures module ...
3
votes
1answer
364 views

Text editor using MVC pattern

I am beginner in programming and recently I wrote an editor, inspired by the Notepad program, with all basic features any editor should have, like finding, undoing, copying, etc. The problem is I do ...
3
votes
0answers
60 views

code for changing from old copyright to a new one in python

This code needs to get two inputs: one is the full address of a directory and another the file extension that it will be changed. These inputs cab be added in the default section of ...
4
votes
1answer
122 views

Rich Edit Form Input (x86-16)

This procedure is the natural continuation of the Example 4 that I wrote for How buffered input works, a Stack Overflow Q/A. Features include: freely positioning the cursor. Left Moves cursor left....
7
votes
2answers
379 views

Vanilla JS rich text editor, extremely small

A few days ago, I created this rich text editor, and posted it to reddit and got over 300 upvotes in less than 1 day. I am a beginner, so I don't believe that this project is very complex, but with ...
0
votes
0answers
3k views

Python script to execute Bash code inside of a Docker container

Motivation I like using so-called online judges and competitive programming sites to practice coding (e.g. CodeWars, Exercism, HackerRank, etc.). I was thinking that it would be nice to try write my ...
4
votes
0answers
159 views

Simple Brainf_ck IDE in JavaFX 8

I have this simple IDE for playing with Brainf_ck. It has no file functionality; only the code, input and output fields are present, and the "compiler" is integrated. Here is how it looks like: My ...
2
votes
3answers
121 views

Simple line editor

I'm self-learning C now and I want to find out if my code is good and clean or kinda messy. This exercise is a simple line editor. please tell me what do you think, If anything needs to be better in ...
1
vote
1answer
654 views

Java Swing GUI editor with tools and scripts

I am creating project named MEdit (link). It's rather advanced text editor, which features: Syntax highlighting for around 91 languages. Is pretty well commented Is written in pure Java Possibility ...
-4
votes
1answer
1k views

Notepad implemented in Swing [closed]

Please give me suggestions for improving this. ...
3
votes
1answer
91 views

Python text appender

The aim of it is to be the quickest way to add to existing notes via SSHh. Is this code in Python style? Am I missing any methods that would make the code simpler or legible? ...
11
votes
2answers
565 views

A Binary Editor with Live Text Preview

This is a tool I needed for some other things (it's incomplete, but almost done) which is essentially just a text-editor that has two text-boxes: the left being the binary view / raw bytes, the right ...
4
votes
1answer
3k views

Custom WYSIWYG Editor

I am so sick of WYSIWYG editors being exclusively for the latest browser or being huge with every option under the sun. I tried to make my own, using code I found online as well as a little of my own ...
2
votes
0answers
68 views

Replace text in emacs buffer with processed one

I have function that processes text and returns it in altered state. Result of the processing is a property list with following properties of interest: :success - ...
5
votes
1answer
100 views

Cleaning up Erlang code for a text editor

On Monday and Tuesday I started learning Erlang through the Erlang Koans, and around Wednesday night I decided to use my newfound knowledge to implement a simple text editor (Akin to ed(1)). Currently ...
3
votes
1answer
673 views

Integrating the Ace embeddable code editor for editing HTML, CSS, and JavaScript

I am currently implementing the Ace-editor embeddable code editor. In to my application. I use a div with a certain class(example: editor_js) to render the editor the div also gets a data attribute (...
3
votes
1answer
325 views

Online notepad in JavaScript

I have been told for my code below i need to "Improve and optimise the codebase of the application to reflect modern and best coding practices". Can anyone help me in doing this? As I know the service ...
10
votes
1answer
2k views

Beginner text editor

I wrote a simple text editor and I would like to get some critical comments. Below I present only a main part of code. I removed icons, irrelevant functions, etc. I am aware,that JTextArea is not best ...
3
votes
2answers
838 views

Java Swing Text Editor

Creating my first program in Swing and I was hoping to get some feedback. I'm looking for constructive criticism and tips for my swing code and my code in general. Don't really know what I'm doing so ...
1
vote
0answers
998 views

TinyMCE plugin to save with cancel button

Please provide constructive criticism for this TinyMCE plugin which allows the user to save the content, or cancel and go back to the original. JS Bin ...