Questions tagged [text-editor]
A text editor is a type of program used for editing plain text files.
42
questions
0
votes
0
answers
155
views
HTML Editor: Online HTML Editor with Real-Time Preview
Overview
HTML Editor is a web-based HTML editor designed for web developers, designers, and learners. It offers a light-weight, minimalist environment for writing and previewing HTML, CSS, and ...
2
votes
2
answers
67
views
Implementing load and save operations for a text editor (proof of concept)
I have a text editor in C does not give much thought to losing data whilst overwriting the original file to save new progress. To circumvent this problem, and make the process robust, I ended up with ...
4
votes
1
answer
442
views
HTML Editor, Online HTML Editor with Real-Time Preview
Note
Please review the new question and ignore the following.
Overview
HTML Editor is a web-based HTML editor designed for web developers, designers, and learners. It offers a light-weight, ...
4
votes
1
answer
592
views
HTML Editor : online HTML editor with real-time preview
Note
Please review the new question and ignore the following.
Overview
HTML Editor is an online HTML editor with a minimalist approach. Edit your HTML, CSS, and JavaScript code and monitor the ...
1
vote
2
answers
52
views
Transform the words in a Word document
This is a simple transform of a Word document to embolden the first half of each word.
I used the python-docx module. The environment if needed was VS Code; for now ...
6
votes
4
answers
771
views
HTML Editor - online HTML editor with real-time preview
Note
Please review the new question and ignore the following.
Overview
HTML Editor is an online HTML editor with a minimalist approach. Edit your HTML, CSS, and JavaScript code and monitor the ...
3
votes
2
answers
107
views
text format solution
A firm gave me a small take home assignment which asks you to implement text formatter. Given some text which only contains alphanumerics and spaces (only one space between words), we should align it ...
1
vote
2
answers
101
views
Editing system files in Linux (as root) with GUI and CLI text editors #3
One year and a half ago I posted the second iteration of this script for a review here:
Editing system files in Linux (as root) with GUI and CLI text editors #2
Since then, it has been "...
5
votes
3
answers
893
views
C: Find and Replace in a text file (by a new programmer)
I'm new to C as in I've only studied it for a year and it's my first language. I still don't know how to handle real world code and so would like to see how a real world programmer would write up a ...
3
votes
1
answer
231
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 ...
7
votes
1
answer
2k
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
1
answer
1k
views
Python Command Line text editor
I want to make a command-line text editor in python. Is this good code?
...
1
vote
2
answers
152
views
Editing system files in Linux (as root) with GUI and CLI text editors #2
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 ...
-2
votes
1
answer
86
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:
<...
2
votes
1
answer
131
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 ...
4
votes
1
answer
106
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
1
answer
2k
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 ...
7
votes
2
answers
4k
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
0
answers
227
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:
...
3
votes
1
answer
755
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
0
answers
116
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 ...
7
votes
1
answer
4k
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 ...
8
votes
2
answers
1k
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 ...
11
votes
2
answers
4k
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
3
answers
180
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
1
answer
914
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
1
answer
2k
views
Notepad implemented in Swing [closed]
Please give me suggestions for improving this.
...
4
votes
1
answer
154
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....
5
votes
2
answers
966
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:
<...
3
votes
1
answer
139
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
2
answers
653
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
0
answers
168
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
0
answers
99
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
1
answer
126
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
1
answer
406
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 ...
4
votes
1
answer
790
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 (...
1
vote
0
answers
1k
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
...
3
votes
2
answers
927
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 ...
10
votes
1
answer
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 ...
22
votes
3
answers
3k
views
HTML Editor: an online HTML editor with real-time preview
Note
Please review the new question and ignore the following.
Overview
HTML Editor is an online HTML editor with a minimalist approach. Edit your HTML, CSS, and JavaScript code and monitor the ...
7
votes
3
answers
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 ...
4
votes
1
answer
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 ...