DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Last post Author Topic: The Non-Notepad(MS) Thread!  (Read 49,798 times)

dr_andus

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 851
    • Writer
Re: The Non-Notepad(MS) Thread!
« Reply #50 on: August 02, 2013, 06:47 PM »
No I hadn't. But that is a standalone editor (right?).

Yeah. I thought I'd just mention it, in case it hits the spot.

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,175
    • Coding Snacks
    • Participated in NANY Challenge Three Times
    • Plugin Coding Medal
Re: The Non-Notepad(MS) Thread!
« Reply #51 on: August 03, 2013, 07:45 AM »
Well it turns out notepad2-mod autocomplete does work in .ahk files already. :up: I mistakenly thought autocomplete used a fixed dictionary (external to the file being edited) and had only tested it in with a blank .ahk file - which of course didn't work. In fact, the autocomplete uses all commands already entered in the document as dictionary.

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,175
    • Coding Snacks
    • Participated in NANY Challenge Three Times
    • Plugin Coding Medal
Re: The Non-Notepad(MS) Thread!
« Reply #52 on: August 04, 2013, 08:21 PM »
Speaking of Notepad2, here is an AutoHotkey script I made that lets you toggle three different settings by clicking your middle mouse button in different parts of an open Notepad2 window.
Code: (autohotkey)
#IfWinActive, ahk_class Notepad2
Mbutton::
WinGetPos,,,w,h, A
MouseGetPos,x,y,,contr
if contr not in SysListView321,msctls_statusbar321
 return
if ( h - y < 60 )
{
 send !s   ;mbutton near lower edge: toggle statusbar
 send oo{enter}
}
else if ( x < w / 2 )
 send ^+n   ;mbutton left half: toggle line numbering
else if (w - x < w / 2 )
 send ^w	;mbutton right half: toggle line wrap
return
#IfWinActive

antekgla

  • Participant
  • Joined in 2011
  • *
  • Posts: 75
    • Participated in NANY Challenge Once
Re: The Non-Notepad(MS) Thread!
« Reply #53 on: August 17, 2013, 01:11 PM »
One more vote to Metapad  :)

Cheers!
SRTFilter Automatic Subtitle Editor & Renamer
Dualcopy If you use Teracopy or Fastcopy this can be interesting   - My N.A.N.Y 2018 Entry

Original address: https://www.donationcoder.com/forum/index.php?topic=35241.0