Giter VIP home page Giter VIP logo

dred's Introduction

David Reid

Open source C and C++ developer focusing on small, easy to use libraries with no dependencies and simple build systems.

discord mastodon

dred's People

Contributors

ararslan avatar dr-soft avatar mackron avatar mingcongbai avatar thecynosure 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dred's Issues

Feature request: quick replace-all with Ctrl + H

It's a standard feature in all other text editors, when you press Ctrl + H with a highlighted text it opens a replace window with it filled in a replace field already to save time on typing.

For dred it can mean if I hit Ctrl + H it'll populate replace-all's first argument with the text in highlight.

dred 0.4.2 in windows 7

dred 0.4.2 is not working in my Windows 7 Home Basic SP1 (x86)
I have this error

The version of this file is not compatible with the version of Windows that you are running. Check the computer system information to see if you need an x86 (32 bit) or x64 (64 bit) version of the program and then contact the provider.

ErrorImage
Dred 0.4.2 is compiled for Windows x64 only?

More info on README

From the README, I have no idea whether this is a GUI or console program, what platforms are supported other than Linux, or any features that distinguish it from any other editor. I don't know who it's meant for, or why you would want to use it over Vim/Emacs/Sublime/what have you.

OSX support?

Interesting project! Are you planning OSX support?

Feature: auto hide tab bar

It would add to dred minimalistic look if dred could auto hide tab bar if there is only one tab opened.

Feature request: command line

hello, first great app, I like it, I would like to ask for some feature like a command line inside the editor. where I could execute commands like "python myscript.py" or "gcc -o bin.exe mycode.c". Thank you.

And looking forward for syntax highlighting :D

Help compiling: unknown GLogWriterOutput

Ubuntu 16.04. I'm a bit of a noob, but I do have glib installed (2.23 is the latest)

In file included from source/dred/dtk/dtk.c:205:0,
from source/dred/dred.c:32,
from source/dred/dred_main.c:18:
source/dred/dtk/dtk_window.c: In function ‘dtk_window_show_popup_menu__gtk’:
source/dred/dtk/dtk_window.c:1700:5: warning: implicit declaration of function ‘gtk_menu_popup_at_rect’ [-Wimplicit-function-declaration]
gtk_menu_popup_at_rect(GTK_MENU(pMenu->gtk.pWidget), gtk_widget_get_window(GTK_WIDGET(pWindow->gtk.pWidget)), &rect, GDK_GRAVITY_NORTH_WEST, GDK_GRAVITY_NORTH_WEST, NULL);
^
In file included from source/dred/dred.c:32:0,
from source/dred/dred_main.c:18:
source/dred/dtk/dtk.c: At top level:
source/dred/dtk/dtk.c:800:1: error: unknown type name ‘GLogWriterOutput’
GLogWriterOutput dtk_log_writer_handler__gtk(GLogLevelFlags level, const GLogField fields, gsize fieldCount, gpointer pUserData)
^
source/dred/dtk/dtk.c:800:74: error: unknown type name ‘GLogField’
GLogWriterOutput dtk_log_writer_handler__gtk(GLogLevelFlags level, const GLogField fields, gsize fieldCount, gpointer pUserData)
^
source/dred/dtk/dtk.c: In function ‘dtk_log_writer_handler__gtk’:
source/dred/dtk/dtk.c:809:29: error: request for member ‘key’ in something not a structure or union
if (strcmp(fields[i].key, "GLIB_DOMAIN") == 0) {
^
source/dred/dtk/dtk.c:810:44: error: request for member ‘value’ in something not a structure or union
domain = (const char
)fields[i].value;
^
source/dred/dtk/dtk.c:812:29: error: request for member ‘key’ in something not a structure or union
if (strcmp(fields[i].key, "MESSAGE") == 0) {
^
source/dred/dtk/dtk.c:813:45: error: request for member ‘value’ in something not a structure or union
message = (const char
)fields[i].value;
^
source/dred/dtk/dtk.c:833:20: error: ‘G_LOG_WRITER_HANDLED’ undeclared (first use in this function)
return G_LOG_WRITER_HANDLED;
^
source/dred/dtk/dtk.c:833:20: note: each undeclared identifier is reported only once for each function it appears in
source/dred/dtk/dtk.c:835:20: warning: implicit declaration of function ‘g_log_writer_default’ [-Wimplicit-function-declaration]
return g_log_writer_default(level, fields, fieldCount, pUserData);
^
source/dred/dtk/dtk.c: In function ‘dtk_init__gtk’:
source/dred/dtk/dtk.c:861:9: warning: implicit declaration of function ‘g_log_set_writer_func’ [-Wimplicit-function-declaration]
g_log_set_writer_func(dtk_log_writer_handler__gtk, pTK, NULL);
^

Portable Mode

Currently dred saves settings in AppData (C:\Users\UserName\AppData\Local\dred)- I suggest a start parameter (for example- "dred.exe --portable", "dred.exe -portable", "dred.exe /portable", "dred.exe /p", etc) which forces dred to save settings not in AppData but in program folder.

Command bar autocomplete

It would be helpful to have autocomplete for command bar commands and config variables. Maybe also hints for command parameters.

Multilingual support.

Infrastructure needs to be implemented for translations to both dred and the website.

Feature: Allow running multiple instances

Currently dread runs single instance -- however many times I issue dred command I have only single windows. Please add ability to run it in multiple instances -- If I issue dred command three times then I have three windows. This can be configuration option or command line parameter.

Improvements to DPI scaling.

TODO:

  • GTK implementation
  • Per-monitor DPI scaling
  • Consider simplifying the existing API by having just a single scaling factor:
    • dtk_get_dpi_scale(), dtk_get_monitor_dpi_scale()

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.