Comments (19)
Not that I'm aware of, I tried a simple test of setting a font for line numbers and then changing the default style font to something else, I don't see it overwrite the line number font. Can you provide a sample app repro?
from scintilla.net.
@desjarlais here is the repo
https://github.com/PyronoxO/Json-Editor
from scintilla.net.
I can't see your repo, is it private?
from scintilla.net.
I can't see your repo, is it private?
it was but i set it to public can you try again ?
from scintilla.net.
That worked, I'll take a look and reply back.
from scintilla.net.
That worked, I'll take a look and reply back.
Thank you for taking the time, Much appreciated.
from scintilla.net.
Where is the "Enhanced_Tab_Control" dependency?
from scintilla.net.
oh its a small user control i made for the tabcontrol to have a close button, for some reason that dll didn't get uploaded with the repo
from scintilla.net.
@desjarlais Hey bro, any update on the issue ?
from scintilla.net.
Is there a way to get me the control, otherwise it might take time to pull out how that works in your app and get a functioning repro without it?
from scintilla.net.
@desjarlais hey bro, i add the dll file in the repo so u can have the reference just made a minor change that its now refereed in as an assembly reference instead of a nuget package so pull the new changes
from scintilla.net.
@desjarlais did it work ??
from scintilla.net.
It did, thank you for including it.
from scintilla.net.
It did, thank you for including it.
no problem, please let me know once you find the problem
from scintilla.net.
@desjarlais hey bro , any update on the issue ?
from scintilla.net.
not yet, still working on the repro. To save time in digging through your project, can you give me the step by step what to do to see the issue reproduce?
from scintilla.net.
@PyronoxO I do see the line number backcolor change, it happens when you call "scintilla1.StyleClearAll" in "jsonStyling".
I don't see that the editor font changes, that starts as "Helvetica" and continues through "UiStyling" and "jsonStyling".
For the LineNumber, I think you have to reset that style back after you call "StyleClearAll". So if you do something like this in "jsonStyling":
scintilla1.StyleClearAll();
scintilla1.Styles[Style.LineNumber].BackColor = Properties.Settings1.Default.uLineNumBc; //Color.FromArgb(12, 12, 12);
scintilla1.Styles[Style.LineNumber].ForeColor = Properties.Settings1.Default.uLineNumFc; //Color.Red;
I think you will see it possibly staying with what you expect?
from scintilla.net.
from scintilla.net.
Closing the issue for now, but if that does not work or you need more information, please re-open.
from scintilla.net.
Related Issues (20)
- is json lexer broken ? WPF HOT 2
- Regular TextBox control influenced by Scintilla contro HOT 7
- Scintilla control not visible on form designer HOT 4
- CaretLineBackColor is black by default HOT 2
- New versions of Scintilla.dll (5.4.1) and Lexilla.dll (5.3.0) HOT 1
- Spacing between lines and characters HOT 3
- Function segmentation and Accolade HOT 19
- SetLexerByName does not cache the lexer created, instead it creates a new one each time. HOT 7
- Implement SCI_[G|S]ETCHANGEHISTORY HOT 2
- Lexer is obsolete HOT 3
- Text does not style completely unless scrolled HOT 7
- Container Lexer not selectable in 5.3.3.15 HOT 4
- Wide character issue introduced between 5.3.3.6 and 5.3.3.9 HOT 12
- All fields been impacted by setting margin of line number. HOT 3
- How to account for satellite dll's when using ClickOnce HOT 2
- Adding functions to StyleNeeded with LexerName HOT 5
- Restore support for .NET Framework 4.6.2 HOT 4
- SCI_FINDTEXT implementation in Scintilla5.net HOT 1
- NuGet Release v5.5.2 did not properly update .NET Framework dependency to 4.6.2 from 4.7 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scintilla.net.