mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-11-04 04:39:41 +01:00 
			
		
		
		
	SynEdit, Block/Selection: Fixed wrong display of Line-Mode blocks
git-svn-id: trunk@17830 -
This commit is contained in:
		
							parent
							
								
									fdbf11d1a2
								
							
						
					
					
						commit
						892c84807d
					
				@ -104,9 +104,9 @@ begin
 | 
			
		||||
    p1 := TSynEdit(SynEdit).BlockBegin;  // always ordered
 | 
			
		||||
    p2 := TSynEdit(SynEdit).BlockEnd;
 | 
			
		||||
 | 
			
		||||
    if (p1.y > aRow) or (p2.y < aRow)
 | 
			
		||||
    then exit;
 | 
			
		||||
    
 | 
			
		||||
    if (p1.y > aRow) or (p2.y < aRow) or not (TSynEdit(SynEdit).SelAvail) then
 | 
			
		||||
      exit;
 | 
			
		||||
 | 
			
		||||
    p1 := LogicalToPhysicalPos(p1);
 | 
			
		||||
    p2 := LogicalToPhysicalPos(p2);
 | 
			
		||||
    nSelStart := 1;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user