Questions tagged [text-editor]

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

Filter by
Sorted by
Tagged with
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: <...
11
votes
2answers
531 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 ...
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 ...
9
votes
2answers
519 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 ...
8
votes
1answer
682 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 ...
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 ...
7
votes
1answer
1k 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 ...
7
votes
2answers
203 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 ...
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 ...
5
votes
2answers
686 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: <...
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 ...
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 ...
4
votes
1answer
106 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....
4
votes
0answers
156 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 ...
3
votes
2answers
715 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 ...
3
votes
1answer
71 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? ...
3
votes
1answer
200 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
1answer
321 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 ...
3
votes
1answer
595 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
0answers
56 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 ...
2
votes
3answers
116 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 ...
2
votes
1answer
84 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 ...
2
votes
0answers
48 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: ...
2
votes
0answers
64 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 - ...
1
vote
1answer
269 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 ...
1
vote
1answer
420 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 ...
1
vote
0answers
844 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 ...
0
votes
0answers
2k 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
1answer
1k views

Notepad implemented in Swing [closed]

Please give me suggestions for improving this. ...