mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
[debugger] keep initial and tail parts of long breakpoint names, IJPL-86215
^IJPL-86215 fixed GitOrigin-RevId: a5223b4f1838f117c4bf15d1cd0b93ddcfd33d92
This commit is contained in:
committed by
intellij-monorepo-bot
parent
149d3476b4
commit
768c20d2d4
@@ -34,8 +34,10 @@ object XBreakpointUtil {
|
||||
* The forcibly shortened version of [XBreakpointType.getShortText].
|
||||
*/
|
||||
@JvmStatic
|
||||
fun getShortText(breakpoint: XBreakpoint<*>): @Nls String =
|
||||
StringUtil.shortenTextWithEllipsis(breakpoint.shortText, 70, 5)
|
||||
fun getShortText(breakpoint: XBreakpoint<*>): @Nls String {
|
||||
val len = 70
|
||||
return StringUtil.shortenTextWithEllipsis(breakpoint.shortText, len, len / 2)
|
||||
}
|
||||
|
||||
/**
|
||||
* @see XBreakpointType.getDisplayText
|
||||
|
||||
Reference in New Issue
Block a user