Skip to content

Instantly share code, notes, and snippets.

View dogancelik's full-sized avatar

Doğan Çelik dogancelik

View GitHub Profile
@dogancelik
dogancelik / startup.py
Created February 9, 2021 22:58 — forked from patstew/startup.py
notepad++ startup.py
from Npp import *
def indent_auto_detect(arg):
for i in range(editor.getLineCount()):
pos = editor.positionFromLine(i)
indent = editor.getLineIndentPosition(i)-pos
if indent > 0:
if ord('\t') == editor.getCharAt(pos):
console.write("Indentation: Tabs\n")
editor.setUseTabs(True)