wer nicht testet oder sonstwie beiträgt, hat eigentlich keinen Code oder Support verdient
Und das entscheidest du?
Komm mal langsam wieder runter von deinem hohen Ross!
wer nicht testet oder sonstwie beiträgt, hat eigentlich keinen Code oder Support verdient
Und das entscheidest du?
Komm mal langsam wieder runter von deinem hohen Ross!
siehe Bild
Evtl. hilft dir das weiter:
Hier sieht das so aus:
ist es nur eine Notlösung
Wird ja hier auch nicht so oft gebraucht. Nur gestern hatte ich halt Lust, mal im Forum danach zu fragen![]()
Bei mir klappt es und bei Dharkness offenbar auch.
Eigenartig.
K.A. was ich hier dann falsch mache![]()
Edit.
Eben mal eine neue .css Datei erstellt:
Jetzt funktioniert es hier auch![]()
![]()
Zeige mal
# -*- coding: utf-8 -*-
# The lines up to and including sys.stderr should always come first
# Then any errors that occur later get reported to the console
# If you'd prefer to report errors to a file, you can do that instead here.
import sys
from Npp import *
# Set the stderr to the normal console as early as possible, in case of early errors
sys.stderr = console
# Define a class for writing to the console in red
class ConsoleError:
def __init__(self):
global console
self._console = console;
def write(self, text):
self._console.writeError(text);
# Set the stderr to write errors in red
sys.stderr = ConsoleError()
# This imports the "normal" functions, including "help"
import site
sys.stdout = console
# In order to set the stdout to the current active document, uncomment the following line
# sys.stdout = editor
# So print "hello world", will insert "hello world" at the current cursor position
editor.setProperty('lexer.css.less.language', 1)
notepad.callback(lambda _: editor.setProperty('lexer.css.less.language', 1), [NOTIFICATION.BUFFERACTIVATED])
Alles anzeigen
weil JavaScript so nicht aussieht
Hallo Sören. Damit hast du natürlich recht, mir ging es im Beispiel nur um die letzte Klammer.
Bei mir hat es geklappt.
Hallo milupo, ich habe das hier erneut überprüft mit dem Vorschlag. Hier ist alles richtig dazu gemacht worden.
Trotzdem wird es in einem:

die Klammer nicht richtig angezeigt.
Egal, dann ist es eben so. Evtl. wird das ja in einer zukünftigen Version mal behoben.
Damit ist meine Frage beantwortet, herzlichen Dank an alle für die Unterstützung![]()
![]()
Du hast auch etwas in das Suchfeld eingegeben
Stimmt.
Weil bei einem Klick in die leere Suchleiste, passiert hier auf Grund meiner Einstellungen gar nichts.
Daran hatte ich nicht gedacht, sorry.
eine Notlösung gefunden:
Das habe ich mal so gemacht, aber keine Änderung hier:
Bin dann aber auch offline...teste morgen weiter.
Erstmal danke an alle![]()
![]()
So, ich habe mal die port. Version hier.
Das Problem ist damit auch vorhanden.
Was ich aber bemerkt habe:
Bei der Einstellung:
wird es richtig angezeigt.
Nur wenn CSS ausgewählt ist, dann nicht.
Ich habe das hier im Notepad++-Forum gefunden:
Danke für den Hinweis![]()
Evtl. wird das Problem ja dann mal behoben in Zukunft.
config.xml hier
Meine:
<?xml version="1.0" encoding="UTF-8"?>
<NotepadPlus>
<ProjectPanels>
<ProjectPanel id="0" workSpaceFile="" />
<ProjectPanel id="1" workSpaceFile="" />
<ProjectPanel id="2" workSpaceFile="" />
</ProjectPanels>
<ColumnEditor choice="number">
<text content="" />
<number initial="-1" increase="-1" repeat="-1" formatChoice="dec" leadingChoice="none" />
</ColumnEditor>
<GUIConfigs>
<GUIConfig name="ToolBar" visible="yes" fluentColor="0" fluentCustomColor="4342854" fluentMono="no">standard</GUIConfig>
<GUIConfig name="StatusBar">show</GUIConfig>
<GUIConfig name="TabBar" dragAndDrop="yes" drawTopBar="yes" drawInactiveTab="yes" reduce="yes" closeButton="yes" pinButton="yes" showOnlyPinnedButton="no" buttonsOninactiveTabs="no" doubleClick2Close="no" vertical="no" multiLine="no" hide="no" quitOnEmpty="no" tabCompactLabelLen="0" />
<GUIConfig name="ScintillaViewsSplitter">vertical</GUIConfig>
<GUIConfig name="UserDefineDlg" position="undocked">hide</GUIConfig>
<GUIConfig name="TabSetting" replaceBySpace="no" size="4" backspaceUnindent="no" />
<GUIConfig name="AppPosition" x="35" y="396" width="1893" height="565" isMaximized="no" />
<GUIConfig name="FindWindowPosition" left="893" top="17" right="1631" bottom="455" isLessModeOn="no" />
<GUIConfig name="FinderConfig" wrappedLines="no" purgeBeforeEverySearch="no" showOnlyOneEntryPerFoundLine="yes" FiF_ignoreunsavedChangesInOpenedFiles="no" />
<GUIConfig name="noUpdate" intervalDays="15" nextUpdateDate="20240216" autoUpdateMode="0">yes</GUIConfig>
<GUIConfig name="Auto-detection">yes</GUIConfig>
<GUIConfig name="CheckHistoryFiles">no</GUIConfig>
<GUIConfig name="TrayIcon">0</GUIConfig>
<GUIConfig name="MaintainIndent">1</GUIConfig>
<GUIConfig name="TagsMatchHighLight" TagAttrHighLight="yes" HighLightNonHtmlZone="no">yes</GUIConfig>
<GUIConfig name="RememberLastSession">no</GUIConfig>
<GUIConfig name="KeepSessionAbsentFileEntries">no</GUIConfig>
<GUIConfig name="DetectEncoding">yes</GUIConfig>
<GUIConfig name="SaveAllConfirm">yes</GUIConfig>
<GUIConfig name="NewDocDefaultSettings" format="0" encoding="4" lang="20" codepage="-1" openAnsiAsUTF8="yes" addNewDocumentOnStartup="no" useContentAsTabName="no" />
<GUIConfig name="langsExcluded" gr0="0" gr1="0" gr2="0" gr3="0" gr4="0" gr5="0" gr6="0" gr7="0" gr8="0" gr9="0" gr10="0" gr11="0" gr12="0" langMenuCompact="yes" />
<GUIConfig name="Print" lineNumber="yes" printOption="3" headerLeft="" headerMiddle="" headerRight="" footerLeft="" footerMiddle="" footerRight="" headerFontName="" headerFontStyle="0" headerFontSize="0" footerFontName="" footerFontStyle="0" footerFontSize="0" margeLeft="0" margeRight="0" margeTop="0" margeBottom="0" />
<GUIConfig name="Backup" action="0" useCustumDir="no" dir="" isSnapshotMode="no" snapshotBackupTiming="7000" />
<GUIConfig name="TaskList">yes</GUIConfig>
<GUIConfig name="MRU">yes</GUIConfig>
<GUIConfig name="URL">2</GUIConfig>
<GUIConfig name="uriCustomizedSchemes">svn:// cvs:// git:// imap:// irc:// irc6:// ircs:// ldap:// ldaps:// news: telnet:// gopher:// ssh:// sftp:// smb:// skype: snmp:// spotify: steam:// sms: slack:// chrome:// bitcoin:</GUIConfig>
<GUIConfig name="globalOverride" fg="no" bg="no" font="yes" fontSize="yes" bold="yes" italic="no" underline="no" />
<GUIConfig name="auto-completion" autoCAction="0" triggerFromNbChar="1" autoCIgnoreNumbers="no" insertSelectedItemUseENTER="yes" insertSelectedItemUseTAB="yes" autoCBrief="no" funcParams="yes" />
<GUIConfig name="auto-insert" parentheses="yes" brackets="yes" curlyBrackets="yes" quotes="no" doubleQuotes="no" htmlXmlTag="no" />
<GUIConfig name="sessionExt"></GUIConfig>
<GUIConfig name="workspaceExt"></GUIConfig>
<GUIConfig name="MenuBar">show</GUIConfig>
<GUIConfig name="Caret" width="1" blinkRate="600" />
<GUIConfig name="openSaveDir" value="1" defaultDirPath="" lastUsedDirPath="C:\Users\weiss\Pictures\Screenshots" />
<GUIConfig name="titleBar" short="no" />
<GUIConfig name="insertDateTime" customizedFormat="yyyy-MM-dd HH:mm:ss" reverseDefaultOrder="no" />
<GUIConfig name="wordCharList" useDefault="yes" charsAdded="" />
<GUIConfig name="delimiterSelection" leftmostDelimiter="40" rightmostDelimiter="41" delimiterSelectionOnEntireDocument="no" />
<GUIConfig name="largeFileRestriction" fileSizeMB="200" isEnabled="yes" allowAutoCompletion="no" allowBraceMatch="no" allowSmartHilite="no" allowClickableLink="no" deactivateWordWrap="yes" suppress2GBWarning="no" />
<GUIConfig name="multiInst" setting="0" clipboardHistory="no" documentList="no" characterPanel="no" folderAsWorkspace="no" projectPanels="no" documentMap="no" fuctionList="no" pluginPanels="no" />
<GUIConfig name="MISC" fileSwitcherWithoutExtColumn="no" fileSwitcherExtWidth="50" fileSwitcherWithoutPathColumn="yes" fileSwitcherPathWidth="50" fileSwitcherNoGroups="no" backSlashIsEscapeCharacterForSql="yes" writeTechnologyEngine="0" isFolderDroppedOpenFiles="no" docPeekOnTab="no" docPeekOnMap="no" sortFunctionList="no" saveDlgExtFilterToAllTypes="no" muteSounds="no" enableFoldCmdToggable="no" hideMenuRightShortcuts="no" />
<GUIConfig name="Searching" monospacedFontFindDlg="no" fillFindFieldWithSelected="yes" fillFindFieldSelectCaret="yes" findDlgAlwaysVisible="no" confirmReplaceInAllOpenDocs="yes" replaceStopsWithoutFindingNext="no" inSelectionAutocheckThreshold="1024" fillFindWhatThreshold="1024" fillDirFieldFromActiveDoc="no" />
<GUIConfig name="searchEngine" searchEngineChoice="2" searchEngineCustom="" />
<GUIConfig name="MarkAll" matchCase="no" wholeWordOnly="yes" />
<GUIConfig name="SmartHighLight" matchCase="no" wholeWordOnly="yes" useFindSettings="no" onAnotherView="no">yes</GUIConfig>
<GUIConfig name="DarkMode" enable="no" colorTone="0" customColorTop="2105376" customColorMenuHotTrack="4210752" customColorActive="4210752" customColorMain="2105376" customColorError="176" customColorText="14737632" customColorDarkText="12632256" customColorDisabledText="8421504" customColorLinkText="65535" customColorEdge="6579300" customColorHotEdge="10197915" customColorDisabledEdge="4737096" enableWindowsMode="no" darkThemeName="DarkModeDefault.xml" darkToolBarIconSet="0" darkTbFluentColor="0" darkTbFluentCustomColor="0" darkTbFluentMono="no" darkTabIconSet="2" darkTabUseTheme="no" lightThemeName="" lightToolBarIconSet="4" lightTbFluentColor="0" lightTbFluentCustomColor="4342854" lightTbFluentMono="no" lightTabIconSet="0" lightTabUseTheme="yes" />
<GUIConfig name="ScintillaPrimaryView" lineNumberMargin="show" lineNumberDynamicWidth="yes" bookMarkMargin="show" indentGuideLine="show" folderMarkStyle="box" isChangeHistoryEnabled="0" lineWrapMethod="aligned" currentLineIndicator="1" currentLineFrameWidth="1" virtualSpace="no" scrollBeyondLastLine="yes" rightClickKeepsSelection="no" selectedTextForegroundSingleColor="no" disableAdvancedScrolling="no" wrapSymbolShow="hide" Wrap="yes" borderEdge="no" isEdgeBgMode="no" edgeMultiColumnPos="" zoom="-1" zoom2="0" whiteSpaceShow="hide" eolShow="hide" eolMode="1" npcShow="hide" npcMode="1" npcCustomColor="no" npcIncludeCcUniEOL="no" npcNoInputC0="no" ccShow="yes" borderWidth="2" smoothFont="no" paddingLeft="0" paddingRight="0" distractionFreeDivPart="4" lineCopyCutWithoutSelection="yes" disableSelectedTextDragDrop="no" multiSelection="yes" columnSel2MultiEdit="yes" />
<GUIConfig name="DockingManager" leftWidth="200" rightWidth="200" topHeight="200" bottomHeight="200">
<PluginDlg pluginName="NPPJSONViewer.dll" id="0" curr="0" prev="-1" isVisible="no" />
<PluginDlg pluginName="Notepad++::InternalFunction" id="0" curr="3" prev="-1" isVisible="no" />
<PluginDlg pluginName="ComparePlus.dll" id="31" curr="1" prev="-1" isVisible="no" />
<PluginDlg pluginName="Notepad++::InternalFunction" id="44084" curr="1" prev="-1" isVisible="no" />
<ActiveTabs cont="0" activeTab="-1" />
<ActiveTabs cont="1" activeTab="-1" />
<ActiveTabs cont="2" activeTab="-1" />
<ActiveTabs cont="3" activeTab="-1" />
</GUIConfig>
</GUIConfigs>
</NotepadPlus>
Alles anzeigen
Auch in Stylus wird es richtig angezeigt:
Die Datei ist hier unter
Danke, muss ich später dann mal testen.
Bin gleich mal eine Weile offline...TV ruft![]()
auch in 8.9.3 kein Problem.
Das Problem habe ich schon immer in Notepad++, nur heute habe ich mal danach gefragt![]()
Bei dir wird in einer .css Datei! mit dem Code die Klammer in Zeile 12 und nicht in Zeile 7 angezeigt?
Zeile 1 gehört zu Zeile 12
So ist es auch richtig.
Aber bei einer .css Datei wird hier daraus Zeile 7
im Fenster oben
Siehe meinen Nachtrag oben, geht damit leider auch nicht.