Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 794 795 [796]

Author Topic: if self.isCoder(): post() #Programming Thread  (Read 826912 times)

taat

  • Bay Watcher
  • Doesn't notify people when putting them in the sig
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #11925 on: May 02, 2024, 11:42:09 pm »

if you want to use notepad++ to append to the end of a file, you can search replace..

select regular expression as search mode and then put in

find what: \Z
replace with: \n your text here

if you want it at the start of the file usa /A instead of /Z
but if you want it at some specific line in the middle of the file, you're probably going to need an actualy script instead of these kinds of tricks
Logged
Hypothesis: I will kill all dwarves in a horrible fashion
Pages: 1 ... 794 795 [796]