Comments (6)
hm.. I see 150cols, demo_load app. Ok.. Win7
from atsynedit.
How to see it here?
from atsynedit.
I build with different set of options -Criot with/without... Always happens.
fpc 2.6.4
Lazarus 1.5 trunk, 48628
I use the text, that is loaded initially (default demo text). It happens at the same pixel width, even with a bigger font. So it is not related to the amount of text columns.
It happens when the bitmap is resized.
from atsynedit.
better this??
procedure TATSynEdit.DoOnResize;
var
SizeX, SizeY: integer;
begin
inherited;
if Assigned(FBitmap) then
begin
SizeX:= ((Width div cResizeBitmapStep)+1)*cResizeBitmapStep;
SizeY:= ((Height div cResizeBitmapStep)+1)*cResizeBitmapStep;
if (SizeX>FBitmap.Width) or (SizeY>FBitmap.Height) then
FBitmap.SetSize(SizeX, SizeY);
end;
Invalidate;
end;
from atsynedit.
No, but this works:
if Assigned(FBitmap) then
begin
SizeX:= ((Width div cResizeBitmapStep)+1)_cResizeBitmapStep;
SizeY:= ((Height div cResizeBitmapStep)+1)_cResizeBitmapStep;
if (SizeX>FBitmap.Width) or (SizeY>FBitmap.Height) then begin
FBitmap.SetSize(SizeX, SizeY);
FBitmap.FreeImage; // <<<<<<<<<<<<<<<<<<<
end;
end;
I am not sure, if this should be required, or if it is a bug in TBitMap
from atsynedit.
weird. will do.
from atsynedit.
Related Issues (20)
- Selection breaks on highlighting HOT 5
- What data structure to use for storing words for autocomplete? HOT 4
- Memory leaks HOT 20
- OptAutocompleteAutoshowCharCount HOT 1
- Changing pasted text before inserting HOT 2
- too slow part
- rework file buffer alloc for huge files >2Gb
- ClientPosToCaretPos is very slow on line len=1G..2G
- atsynedit_unicodedata HOT 3
- Too big coords and Cocoa IME HOT 10
- CaretShape.EmptyInside paint bug / caret of inactive window bug HOT 14
- extend selection by shift+click from the far selection boundary. HOT 2
- autocompletion listbox is no good with big fonts. HOT 3
- Can't compile package atsynedit_package.lpk HOT 2
- question about ropes HOT 1
- carets are sorted so this method can use binary search
- bug in IME painting? HOT 3
- IME form: code HOT 3
- fix URL rule
- "log_timing": true, indicator is overlapped by horizontal scrollbar
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 atsynedit.