{"id":18717928,"url":"https://github.com/ramonunch/greenpad","last_synced_at":"2025-04-12T13:32:57.817Z","repository":{"id":41817158,"uuid":"431824392","full_name":"RamonUnch/GreenPad","owner":"RamonUnch","description":"Fork from roytam1 fork from original GreenPad","archived":false,"fork":false,"pushed_at":"2025-03-16T08:29:10.000Z","size":2222,"stargazers_count":28,"open_issues_count":13,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-26T08:22:20.856Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RamonUnch.png","metadata":{"files":{"readme":"readme.en.txt","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-25T11:43:38.000Z","updated_at":"2025-03-16T08:29:08.000Z","dependencies_parsed_at":"2023-02-15T16:00:58.935Z","dependency_job_id":"5e71bae5-3d21-4f7e-90de-55fdbefb2ca7","html_url":"https://github.com/RamonUnch/GreenPad","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamonUnch%2FGreenPad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamonUnch%2FGreenPad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamonUnch%2FGreenPad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RamonUnch%2FGreenPad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RamonUnch","download_url":"https://codeload.github.com/RamonUnch/GreenPad/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248573570,"owners_count":21126859,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T13:18:33.316Z","updated_at":"2025-04-12T13:32:57.060Z","avatar_url":"https://github.com/RamonUnch.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\r\n\r\n=\u003c\u003e\r\n=\u003c\u003e GreenPad ver 1.08+\r\n=\u003c\u003e                                                            2008/07/11\r\n\r\n\r\n\u003c\u003cWhat's This?\u003e\u003e\r\n\r\n  GreenPad is a tiny text editor for Windows.\r\n\r\n  It aims to be a handy Notepad replacement with minimal but\r\n  complete features, not to be a rich, bloated monsterous\r\n  editor. GreenPad supports:\r\n    * Unicode 2.0\r\n    * Proportional Fonts\r\n    * Syntax Highlighting\r\n    * Searching with Regular Expressions\r\n  while keeping the size of .exe very small (around 50KB!).\r\n\r\n  Freeware, distributed under the NYSL licence.\r\n  The source code is available at: http://www.kmonos.net/lib/gp.en.html\r\n\r\n\u003c\u003cWhat's New in 1.10\u003e\u003e\r\n\r\nThe purpose of this fork is to make the ultimate exe that will work on\r\nall Windows versions while still having MAXIMUM functionality under later\r\nWindows versions.\r\n\r\n  * Support for UNC path, you can edit files with a path longer than 260\r\n    characters, only under Windows NT. Note that the shell is still\r\n    limited to 260 char path so you can drag\u0026drop long file path from\r\n    double-commander or similar software, you can also use the command line.\r\n    but it is not possible to use File-\u003eOpen to open UNC. Blame Microsoft...\r\n  * Add Upper, Lower and Invert Case options that change the case of selected\r\n    text. Use Alt+U/Alt+L/Alt+I, (like with Metapad).\r\n  * Add Trim trailing spaces option (Alt+W), like with Metapad.\r\n  * Added ESCAPE key to exit GreenPad.\r\n  * Added F12 key to be used for \"Save As..\", like in MS Office suite.\r\n  * Added F5 to refresh the file (keep cursor position). \r\n    Use F6 to insert Date\u0026Time.\r\n  * Fix High DPI issues under Win8.x/10/11 (dpi-aware manifest)\r\n  * Use CreateWindow instead of CreateStatusWindow, so statubar can be\r\n    included in WinNT3.1 (Needs COMCTL32 v3.5+ though).\r\n  * Dynamically import OLE32.dll so that it is detected at runtime instead\r\n    of compile time (towards ultimate exe).\r\n  * Dynamically import CharNextExA, when using Win95+/NT4+ -\u003e ultimate exe.\r\n  * Re-implement FindWindowEx function using EnumChildWindows for NT3.1.\r\n    So that you can Use Ctrl+Tab there to switch between GreenPad windows.\r\n  * Dynamically import Get/SetScrollInfo for the best scroll support on\r\n    Window NT3.51 and later and fallback to Get/SetScrollPos for NT3.1/3.5.\r\n  * New files can now be created from the Open dialog.\r\n  * Dynamically import GetKeyboardLayout --\u003e ultimate exe.\r\n  * Dynamically import GetShortPathNameW (thanks to unicows).\r\n\r\nTODO:\r\n  * Add UAC support for Windows Vista/7/8.X/10/11\r\n  * Dynamically import IMM32.DLL --\u003e Ultimate exe.\r\n  * Find/Replace only in the selection (if any).\r\n  * Smart indentation option\r\n  * Tab/Shift+Tab to indent/un-indent a block of text.\r\n\r\n\u003c\u003cWhat's New in 1.09\u003e\u003e\r\n\r\n  * Open/Save dialog, Document Type Menu, MRU Menu fix for NT 3.51\r\n  * UTF-1, UTF-9(1997) support\r\n  * enhanced Multiple Language detection\r\n  * Code page list addition and arrangement\r\n  * Unicode version(provided binary) works in Windows 95/98/Me if system has\r\n    Microsoft Layer for Unicode installed.\r\n  * [100511] add \"cs=\" .lay font charset value entry support\r\n  * [100511] Use \"System\" font for NT 3.51's Open/Save dialog.\r\n  * [100514] fix UTF-7/8 support in NT 3.51\r\n  * [100515] NT3.1 and NT 3.5 version merged into GreenPad NT 3.51 repository.\r\n    Binary for Win32s, NT 3.1, NT 3.5 are included in package.\r\n  * [100516] Add chardet.dll charset detector support. Place chardet.dll to\r\n    same place as GreenPad executable to use.\r\n  * chardet.dll is available in separated packages as license is different\r\n    (GreenPad is licensed in NYSL Version 0.9982, but chardet.dll is\r\n    tri-licensed in MPL/GPL/LGPL)\r\n  * [100517] Add UTF-1/UTF-9(1997) BOM support.\r\n  * [100517] Use chardet when size \u003e 80 bytes on NT4/Win95 or newer.\r\n  * [100517] Move EUC/UTF-8 check to last, pervert EUC check on non Japanese\r\n    Edition Windows which leads to misdetection.\r\n  * [100517] textfile: keep U+FEFF in Unicode content, remove BOM only.\r\n  * [100517] Add legacy Chinese Traditional charset support (c_20001.nls -\r\n    c_20005.nls are in install disc, need manual installing them)\r\n  * [100517] Add preliminary support of detect BOM-less UTF-16/32 (BE/LE)\r\n    files. (ideas taken from Footy2)\r\n  * [100517] chardetAutoDetection: add EUC-TW/CNS detection\r\n  * [100520] Fix writing surrogate pairs in UTF-1/UTF-9, fix not converting\r\n    non-BMP code prints to surrogate pair when reading UTF-1/UTF-9\r\n  * [100520] Add SCSU/BOCU-1 support\r\n  * [100523] Fix crash when Quit with Global IME installed\r\n  * [100605] check for valid code page instead of checking OS version for UTF-7/8\r\n  * [100607] fix new file with UNKN encoding when NewfileCharset don't exist in OS\r\n  * [100608] fix Config dialog in NT 3.5, fine tune control positions,\r\n    change full-width katakana to half-width katakana to save space for\r\n    NT 3.x which doesn't have MS PGothic.\r\n  * [100706] add \"Save and Exit\" menu\r\n  * [100711] add \"Discard and Exit\" menu\r\n  * [100712] Add preliminary support of print function.\r\n  * known issues: Copies are not working in XP,\r\n    no Page Setup(header/footer/margin/etc.) support (yet?)\r\n  * untested on Windows other than XP. only tested with PrimoPDF and\r\n    XPS Writer virtual printers.\r\n  * [100714] Print: break long lines that cross pages.\r\n  * [100714] Menu: Add \"Reconversion\" and \"IME On/Off\" menu.\r\n  * [110228] Add GB18030 codepage support.\r\n  * [110409] Fixed BOCU-1 reader out-of-bound crash when reading invalid\r\n    BOCU-1 stream\r\n  * [110420] Fixed \u003e 65535 lines scrolling on NT 3.51 version (It cannot be\r\n    fixed on NT 3.5/3.1/Win32s version because GetScrollInfo API is not\r\n    available)\r\n  * [110429] Fixed chardet UTF-8 detection\r\n\r\n\r\n\u003c\u003cWhat's New in 1.08\u003e\u003e\r\n\r\n  * Fixed: Several potential access violations bugs\r\n  * Partial support for surrogate pairs (proper rendering and carret moves,\r\n    reading/writing UTF-32 and UTF-8 text beyond BMP).\r\n  * Changed the tab-order of the Find/Replace dialog.\r\n  * Changed the behavior of [Home] and [End] key to be more compatible with NotePad.\r\n\r\n\u003c\u003cKeyboard Shortcuts\u003e\u003e\r\n\r\n        Ctrl+R   Reopen\r\n  Shift+Ctrl+S   Save as...\r\n        Ctrl+Y   Redo\r\n            F5   Insert date \u0026 time\r\n\r\n        Ctrl+F   Find\r\n            F3   Find next\r\n      Shift+F3   Find prev\r\n        Ctrl+H   Replace\r\n        Ctrl+J   Jump to line #\r\n        Ctrl+G   Grep\r\n\r\n        Ctrl+1   No Wrapping\r\n        Ctrl+2   Wrap by specified width\r\n        Ctrl+3   Wrap by the size of window\r\n\r\n       Ctrl+Up   Curosr Up 3 lines\r\n       Ctrl+Dn   Curosr Down 3 lines\r\n\r\n  and Windows-common shortcuts ( Ctrl+S to save, Ctrl+C to copy, ... )\r\n\r\n\r\n\u003c\u003cQ\u0026A\u003e\u003e\r\n\r\n  * How to change fonts and colors ?\r\n\r\n    In the types/ dir, you'll see some .lay files. Please edit them manually.\r\n      =========================================================\r\n      ct=Color of Text (RGB)\r\n      ck=Color of Keyword\r\n      cb=Color of BackGround\r\n      cc=Color of ControlCharactor\r\n      cn=Color of commeNt\r\n      cl=Color of Line no.\r\n      ft=FonT name\r\n      sz=font SiZe\r\n      tb=TaB width\r\n      sc=11000\r\n      wp=WraP type (-1: no wrap 0: right edge 1: ww chars )\r\n      ww=Wrap Width\r\n      ln=show LineNo.\r\n      =========================================================\r\n    Year, editing manually, is very inconvinient.\r\n    I'll create GUI configurator someday ...\r\n\r\n  * How to create syntax hilighting modes?\r\n\r\n    Write you own .kwd files and put them into the types/ directory.\r\n    The format of .kwd files is as follows:\r\n      =========================================================\r\n      1111        # Four Boolean Flags, 0:false 1:true (explained later)\r\n      /*          # beginning symbol for block-comments\r\n      */          # ending symbol for block-comments\r\n      //          # beggining symbol for one-line comments\r\n      auto        # the list of keywords follows...\r\n      bool\r\n      _Bool\r\n      break\r\n      case\r\n      ...\r\n      =========================================================\r\n    The meanings of the four flags are, from left to right:\r\n     - CaseSensitive          (if set to 1, keywords are treated as case-sensitive.)\r\n     - EnableSingleQuotation  (if set to 1, keywords inside '...' is not highlighted.)\r\n     - EnableDoubleQuoatation (if set to 1, keywords inside \"...\" is not highlighted.)\r\n     - EnableEscapeSequences  (if set to 1, \"..\\\"..\" is teated as a single string.)\r\n    Usually, 0111 or 1111 is recommended.\r\n\r\n  * Which regular expressions can be used?\r\n\r\n    Here is the complete list of the regular expressions available in GreenPad:\r\n      =========================================================\r\n      quanitification:\r\n        ?    : 0 or 1\r\n        *    : 0 or more\r\n        +    : 1 or more\r\n\r\n      alternation:\r\n        a|b\r\n\r\n      grouping(parentheses)\r\n\r\n      special escape characters:\r\n        \\t   : tab\r\n        \\\\   : '\\' itself\r\n        \\[   : '['\r\n\r\n      positional match:\r\n        ^  : start of line\r\n        $  : end of line\r\n\r\n      character classes:\r\n        [abc]  : matches a single character 'a', 'b', or 'c'\r\n        [^abc] : matches any single character other than 'a', 'b', or 'c'\r\n        [d-h]  : matches 'd', 'e', 'f', 'g', 'h'\r\n        \\w     : [0-9a-zA-Z_]\r\n        \\W     : [^0-9a-zA-Z_]\r\n        \\d     : [0-9]\r\n        \\D     : [^0-9]\r\n        \\s     : [\\t ]\r\n        \\S     : [^\\t ]\r\n      =========================================================\r\n    There are some limitations:\r\n      * GreenPad does searching line by line, thus\r\n        you cannot search \"aaa\\nbbb\" or something like it.\r\n      * No forward/backward references.\r\n      * No shortest matches (every * is greedy)\r\n\r\n  * External Grep Program ?\r\n\r\n    You can enter some GUI grep program here. For example,\r\n      C:\\Software\\Gj\\GrepJuice.exe \"%D\"\r\n    is set in my environment.\r\n      %D is automatically replaced by the current directory\r\n      %F is replaced with the full path of the current file.\r\n      %N is replaced with the name (without path info) of the current file.\r\n\r\n  * Command Line Options ?\r\n\r\n      greenpad ([-l LineNumber] [-c CharacterSet] filename)*\r\n\r\n    For example:\r\n      greenpad -l543 -c932 aaaa.txt\r\n    opens a file named \"aaaa.txt\" assuming the Shift_JIS encoding,\r\n    and brings its 543rd line to the view area. CharacterSet number\r\n    supported by default is:\r\n       iso-8859-1  = -1\r\n       UTF5        = -2\r\n       UTF8        = -65001\r\n       UTF16BE     = -5\r\n       UTF16LE     = -6\r\n       UTF32BE     = -9\r\n       UTF32LE     = -10\r\n     If you have installed \"Language Support\" for your Windows,\r\n     the character sets of installed languages become\r\n     readable/writable in GreenPad. You should consult with\r\n     the \"area and language option\" control panel to get the\r\n     CharacterSet numbet for those languages. Note however that\r\n     for some east asian encodings, special CharacterSet numbers\r\n     are assigned for a technical reason.\r\n       EUC-JP      = -932\r\n       iso-2022-jp = -933\r\n       iso-2022-kr = -950\r\n       iso-2022-cn = -936\r\n       GB2312      = -937\r\n\r\n  * How to share GreenPad's configurations between users of same machine?\r\n\r\n    Usually, GreenPad saves and loads its configuration for each\r\n    machine user account. However, sometimes you want to use only one\r\n    setting for one GreenPad.exe. (for example, when you have GreenPad\r\n    in an emergency floppy disk and log in different users accounts.)\r\n\r\n    In this case, you should add the following two lines to GreenPad.ini\r\n    file:\r\n      [SharedConfig]\r\n      Enable=1\r\n    then GreenPad will be executed in user-independent-settings-mode.\r\n\r\n\r\n\u003c\u003cAcknowledgements\u003e\u003e\r\n\r\n  * The icon image of GreenPad is the work of\r\n    SB( http://homepage3.nifty.com/scriba/ ). Thanks.\r\n\r\n\r\n\u003c\u003cLicense\u003e\u003e\r\n\r\n  NYSL Version 0.9982  http://www.kmonos.net/nysl/\r\n\r\n  A. This software is \"Everyone'sWare\". It means:\r\n    Anybody who has this software can use it as if you're\r\n    the author.\r\n\r\n    A-1. Freeware. No fee is required.\r\n    A-2. You can freely redistribute this software.\r\n    A-3. You can freely modify this software. And the source\r\n        may be used in any software with no limitation.\r\n    A-4. When you release a modified version to public, you\r\n        must publish it with your name.\r\n\r\n  B. The author is not responsible for any kind of damages or loss\r\n    while using or misusing this software, which is distributed\r\n    \"AS IS\". No warranty of any kind is expressed or implied.\r\n    You use AT YOUR OWN RISK.\r\n\r\n  C. Copyrighted to k.inaba.\r\n\r\n  D. Above three clauses are applied both to source and binary\r\n    form of this software.\r\n\r\n\r\n---------------------------------------------------------------------------\r\n                                       by k.inaba( http://www.kmonos.net/ )\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framonunch%2Fgreenpad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Framonunch%2Fgreenpad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Framonunch%2Fgreenpad/lists"}