Git Product home page Git Product logo

ptext's Introduction

Hi ๐Ÿ‘‹, I'm proh14 (Hoorad)

A 13 y/o developer!

proh14

Say hello to dear gnu ;)

  ,= ,-_-. =.
 ((_/)o o(\_))
  `-'(. .)`-'
      \_/
  • ๐Ÿ”ญ Iโ€™m currently working on ptext and canoutils

  • ๐ŸŒฑ Iโ€™m currently learning Everything

  • ๐Ÿ‘จโ€๐Ÿ’ป All of my projects are available at proh14.net

  • ๐Ÿ“ I regularly write articles on proh14.net/posts

  • ๐Ÿ’ฌ Ask me about low-level

  • ๐Ÿ“ซ How to reach me [email protected]

  • โšก Fun fact I play chess

Connect with me:

770949660021227521

Languages and Tools:

android bash c cplusplus css3 docker git gtk html5 hugo java jekyll jenkins kubernetes linux mongodb mysql postman python qt redis selenium spring unity

proh14

proh14

An image of @proh14's Holopin badges, which is a link to view their full Holopin profile

ptext's People

Contributors

awmc000 avatar jetas18 avatar julesgrc0 avatar proh14 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ptext's Issues

could you add nano keybindings?

Can you add nano keybindings or config file where we can change everything self before configure and make?

Thanks and

Best regards

Optimize overall performace[FEATURE].

I want the overall performance (writing to the screen, rows structure, etc) optimized.

Some ideas for that:
Only write lines that are edited to the screen.
Calculate hl and renchar on the fly.
Optimize the number of realloc by implementing capacity-based memory for example for buff.

A useful program that is optimized called "micro emacs"
https://github.com/torvalds/uemacs

Asked to overwrite an unused filename [BUG].

Describe the bug
The program says that a filename already exists and asks the user if they want to overwrite it when in fact the filename does not already exist.

To Reproduce
Steps to reproduce the behavior:

  1. Clone
  2. Make
  3. Run the executable without any arguments, like ./ptext
  4. Save to a filename that is not used, like "hello-world" or anything not in the directory

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

image
image

Desktop

  • OS Distro: Ubuntu
  • Version 22.04.3 LTS
  • Shell: zsh 5.8.1
  • Terminal: Tilix
  • DE: GNOME 42.9

Add a keybind to delete a whole line[FEATURE].

Is your feature request related to a problem? Please describe.
I want the editor to delete a whole line when someone presses CTRL + x

Describe the solution you'd like
The key can be added to src/input.c in the procKey function. And the line can be deleted with the delRow function.

Multiline Syntax highlighting [BUG].

Describe the bug
Multiline Syntax highlighting is buggy

To Reproduce
Steps to reproduce the behavior:

  1. Clone
  2. open a file with comments
  3. edit the lines that are commented
  4. Get the bug

Expected behavior
When you edit a multiline comment, the program should update every connected row with multiline comments to the correct row.

About source code history

Hello @proh14, I have seen about ptext some days ago on twitter

ptext is a text editor based on kilo.

Would be nice when you base your work on other people work to maintain the license and code history instead of squashing or cherry picking files, github have the option to import a repository if you want to make a detached fork from the start

I see you have restored the BSD license to which you should add you 2023 copyright below Antirez one

Vim Bindings

Is your feature request related to a problem? Please describe.
I want vim keybinding support maybe

Describe the solution you'd like
Optional Vim Keybindings, like intellij, vscode, emacs have

Describe alternatives you've considered
Nothing.

Additional context
No.

the terminfo problem.

This editor has compatibility issues. Yes, it can run on vt-100 terminals, but my goal is to support a wide variety of terminals with color.
should I link against ncurses or not to use the terminfo or not?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.